core-services-01: add backup repository for VyOS

This commit is contained in:
Raito Bezarius 2021-08-04 15:59:02 +02:00
parent e23f00d8db
commit 3fc1c9da86
3 changed files with 17 additions and 3 deletions

View file

@ -0,0 +1,8 @@
{ ... }:
{
users.users.backup = {
isNormalUser = true;
hashedPassword = "$6$5C4F4cz5pWpW0$oYVATIrYMTR8oAR3lWTv1/4agerPcKYJEAPMKyof2oZWMOYST.n8aQKzpFFEwsIybwSa5RJg.mL7fon6RaiSD/";
home = "/var/lib/backup";
};
}

View file

@ -18,6 +18,7 @@
./nginx.nix
./keycloak.nix
./acme-dns.nix
./backups.nix
./secrets
# TODO push to gitea
# TODO ./gotify.nix

View file

@ -49,15 +49,20 @@ with my.ipv6; # contains { standard, acme }
};
internal.subdomains = {
core01 = {
A = [ "10.1.1.20" ];
};
# Routers
router01.A = [ "10.1.1.1" ];
router02.A = [ "10.1.1.2" ];
# Hypervisors
pve01 = {
A = [ "10.1.1.10" ];
subdomains = {
idrac.A = [ "10.1.2.20" ];
} // delegateACMEDNSChallenge "7c663a49-151c-4eea-a34f-725ff9f19d41.acme.rz.ens.wtf.";
};
# Core machines
core01.A = [ "10.1.1.20" ];
};
};
}