redshift: only use secrets if sops is enabled

This commit is contained in:
Zynh Ludwig 2024-07-24 01:17:03 -07:00
parent 9d67cf3d60
commit 4f33cd310d

View file

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