diff --git a/hosts/dnsc-vps-sm/default.nix b/hosts/dnsc-vps-sm/default.nix index 85772e6..12cf756 100644 --- a/hosts/dnsc-vps-sm/default.nix +++ b/hosts/dnsc-vps-sm/default.nix @@ -13,7 +13,7 @@ inputs.home-manager.nixosModules.home-manager inputs.ip-whitelist.nixosModules.default ../../modules/openssh - # ../../modules/vaultwarden + ../../modules/vaultwarden ../../modules/uptime-kuma ../../modules/glance ../../modules/docker @@ -21,11 +21,11 @@ ]; # Secrets - # age = { - # identityPaths = [ "${config.users.users.dennis.home}/.ssh/id_ed25519" ]; - # secrets."vaultwarden/env".file = ../../secrets/vaultwarden/env.age; - # secrets."restic/password".file = ../../secrets/restic/password.age; - # }; + age = { + identityPaths = [ "${config.users.users.dennis.home}/.ssh/id_ed25519" ]; + secrets."vaultwarden/env".file = ../../secrets/vaultwarden/env.age; + secrets."restic/password".file = ../../secrets/restic/password.age; + }; # Generated automatically boot.tmp.cleanOnBoot = true; @@ -167,7 +167,7 @@ # Restic services.restic.backups.dnsc-vps-sm-backup = { initialize = true; - passwordFile = ""; # config.age.secrets."restic/password".path; + passwordFile = config.age.secrets."restic/password".path; repository = "sftp:u295965@u295965.your-storagebox.de:restic/dnsc-vps-sm"; paths = [ "/var/backup/vaultwarden"