fix: use correct variable for restic secrets
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
This commit is contained in:
parent
87776a4867
commit
e6068d34d5
@ -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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user