Introduce agenix secrets management
This commit is contained in:
@@ -8,6 +8,15 @@
|
||||
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-cyan-htpasswd = {
|
||||
path = "/mnt/clerie-backup/cyan/.htpasswd";
|
||||
symlink = false;
|
||||
owner = "restic";
|
||||
group = "restic";
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."cyan.backup.clerie.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
Reference in New Issue
Block a user