fix sops
This commit is contained in:
1 parent
9377d1ce45
commit
4c2f368da3
2 files changed
+7
-2
No files matched your search
@@ -1,4 +1,5 @@
|
|||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
sops.secrets.INFOMANIAK_API_KEY = { sopsFile = ./server.yaml; };
|
config = lib.mkIf (config.syscfg.server.sops) {
|
||||||
sops.secrets."${config.syscfg.hostname}_wg_priv" = { };
|
sops.secrets.INFOMANIAK_API_KEY = { sopsFile = ./server.yaml; };
|
||||||
|
};
|
||||||
}
|
}
|
||||||
@@ -106,6 +106,10 @@ let
|
|||||||
type = type.bool;
|
type = type.bool;
|
||||||
default = false;
|
default = false;
|
||||||
};
|
};
|
||||||
|
sops = mkOption {
|
||||||
|
type = type.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
openssh = mkOption {
|
openssh = mkOption {
|
||||||
type = type.bool;
|
type = type.bool;
|
||||||
default = false;
|
default = false;
|
||||||
|
|||||||
Reference in new issue
Block a user