1
0

hosts/backup-4: use secrets

This commit is contained in:
clerie 2023-05-01 15:34:43 +02:00
parent 809e8652ff
commit 1cd9f1e52d
3 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,15 @@
listenAddress = "[::1]:43242"; listenAddress = "[::1]:43242";
}; };
# restic rest server does not support --htpasswd-file in the current version of nixpkgs
# until then we copy the secrets to the common location
age.secrets.restic-server-magenta-htpasswd = {
path = "/mnt/clerie-backup/magenta/.htpasswd";
symlink = false;
owner = "restic";
group = "restic";
};
services.nginx.virtualHosts."magenta.backup.clerie.de" = { services.nginx.virtualHosts."magenta.backup.clerie.de" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;

1
hosts/backup-4/ssh.pub Normal file
View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILUaAo7yYjuVpWadxPqrUGrZWwLNltvc+PfOT8z36Eip