redshift: only use secrets if sops is enabled
This commit is contained in:
parent
9d67cf3d60
commit
4f33cd310d
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue