fix: use correct variable for restic secrets

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
This commit is contained in:
Chinmay D. Pai 2024-09-30 12:11:48 +05:30
parent 87776a4867
commit e6068d34d5
Signed by: thunderbottom
GPG Key ID: 75507BE256F40CED

View File

@ -84,8 +84,8 @@ with lib; {
in in
mkIf cfg.enable { mkIf cfg.enable {
age.secrets = { age.secrets = {
restic-environment.file = cfg.resticEnvironment.file; restic-environment.file = cfg.resticEnvironmentFile.file;
restic-password.file = cfg.resticPassword.file; restic-password.file = cfg.resticPasswordFile.file;
}; };
services.restic.backups = services.restic.backups =