redshift: only use secrets if sops is enabled
parent
9d67cf3d60
commit
4f33cd310d
|
@ -37,7 +37,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
sops.secrets = {
|
||||
sops.secrets = lib.mkIf sops {
|
||||
"locations/snowhawk/lat".path = "${cfgDir}/lat";
|
||||
"locations/snowhawk/lon".path = "${cfgDir}/lon";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue