redshift: only use secrets if sops is enabled

main
Zynh Ludwig 2024-07-24 01:17:03 -07:00
parent 9d67cf3d60
commit 4f33cd310d
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ in
};
};
sops.secrets = {
sops.secrets = lib.mkIf sops {
"locations/snowhawk/lat".path = "${cfgDir}/lat";
"locations/snowhawk/lon".path = "${cfgDir}/lon";
};