feat: ddclient container
This commit is contained in:
parent
a996be8a7d
commit
f1d8069dc6
|
@ -12,4 +12,11 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
networking.extraHosts = ''
|
||||
192.168.178.2 lel.lol
|
||||
192.168.178.2 pw.lel.lol
|
||||
192.168.178.2 nc.lel.lol
|
||||
192.168.178.2 adguardhome.lel.lol
|
||||
192.168.178.2 git.lel.lol
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
../../modules/hardware/zfs.nix
|
||||
|
||||
../../modules/services/acme.nix
|
||||
../../modules/services/ddclient.nix
|
||||
|
||||
./net.nix
|
||||
./fs.nix
|
||||
|
|
|
@ -55,11 +55,13 @@
|
|||
datasets = {
|
||||
"safe/guests" = unmountable;
|
||||
};
|
||||
mode = "raidz";
|
||||
};
|
||||
renaultft = mkZpool {
|
||||
datasets = {
|
||||
"safe/guests" = unmountable;
|
||||
};
|
||||
mode = "raidz";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -75,7 +75,7 @@ in {
|
|||
'';
|
||||
};
|
||||
upstreams.nextcloud = {
|
||||
servers."${ipOf "nextcloud"}:3000" = {};
|
||||
servers."${ipOf "nextcloud"}:80" = {};
|
||||
|
||||
extraConfig = ''
|
||||
zone nextcloud 64k ;
|
||||
|
@ -166,6 +166,7 @@ in {
|
|||
{}
|
||||
// mkContainer "adguardhome" {}
|
||||
// mkContainer "vaultwarden" {}
|
||||
// mkContainer "ddclient" {}
|
||||
// mkContainer "nextcloud" {
|
||||
enablePanzer = true;
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJrtGpaL39TCloyatv2MJ6H+IUwMBxwO/PdugyYwCPvN
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPR1b66yEQQSmvFPk4PZTtcyKCyYt4vuruByOoHhIjfu
|
||||
|
|
1
hosts/elisabeth/secrets/ddclient/host.pub
Normal file
1
hosts/elisabeth/secrets/ddclient/host.pub
Normal file
|
@ -0,0 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICDzH6m99bGJIy+9Ffa5djFjYryuV6CFmGtY2zUxBiuu
|
|
@ -1 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINHGEV0vuqSAvT07Sl56Lo3o5U6EU5uSrfTFe5BF5QnX
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOWoGqHwkLVFXJwYcKs3CjQognvlZmROUIgkvvUgNalx
|
||||
|
|
|
@ -1 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/1vC6GL2Xb9eIQaNKnSOQgN5bglns2Nh5dykkFqYMC
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE0dFbC8x6Ev1R/nFvG20fp2tapOQti0lK2iz4gsHDRr
|
||||
|
|
|
@ -1 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKlZoZI1rYOR8wLywWIjtLQLpnflXF7fHhYPZbgd0Gq1
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGMAQzrtwi+J6+W21dBPpASsWnhzYkvscwYGycu57lUo
|
||||
|
|
|
@ -1 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINnHM1ElW8cdCZaC4D3q5wS0P9/6A6VvZ7V49suxNWaV
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINfdZq6qJXMfwobfphbMj+63cjQXHkbJmsL28zZB08xX
|
||||
|
|
|
@ -1 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIHyOMSi8aRtXIEWoMuUfGQl2H6SGSdpl8VuxiEKD9F8
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGlzWJBIfmwzxnUuJI3kxTFBYRzI+duJ+QSWHvNAwZRv
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
bind_port = 3000;
|
||||
bind_host = "0.0.0.0";
|
||||
dns = {
|
||||
bind_hosts = ["0.0.0.0"];
|
||||
bind_hosts = [(lib.net.cidr.host config.secrets.secrets.global.net.ips.${config.node.name} config.secrets.secrets.global.net.privateSubnet)];
|
||||
anonymize_client_ip = true;
|
||||
upstream_dns = [
|
||||
"1.0.0.1"
|
||||
|
@ -34,7 +34,7 @@
|
|||
users = [
|
||||
{
|
||||
name = "patrick";
|
||||
password = "$2b$05$Dapc2LWUfebNOgIeBcaf2OVhW7uKmthmp9Ptykn96Iw1UE5pt2U72";
|
||||
password = "$2y$10$cmdb7U/qbtUvrcFeKQvr6.BPrm/UwCiP.gBW2jG0Aq24hnzd2co4m";
|
||||
}
|
||||
];
|
||||
filters = [
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
in {
|
||||
# Recommended by forgejo: https://forgejo.org/docs/latest/admin/recommendations/#git-over-ssh
|
||||
services.openssh.settings.AcceptEnv = "GIT_PROTOCOL";
|
||||
networking.firewall.allowedTCPPorts = [3000 9922];
|
||||
|
||||
environment.persistence."/panzer".directories = [
|
||||
{
|
||||
|
|
|
@ -46,6 +46,8 @@ in {
|
|||
environmentFile = config.age.secrets.vaultwarden-env.path;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [3000];
|
||||
|
||||
# Replace uses of old name
|
||||
systemd.services.backup-vaultwarden.environment.DATA_FOLDER = lib.mkForce "/var/lib/vaultwarden";
|
||||
systemd.services.vaultwarden.serviceConfig = {
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue