secrets.nix: Remove age secrets management
This commit is contained in:
@@ -55,8 +55,7 @@ in
|
||||
}
|
||||
];
|
||||
privateKeyFile = if cfg.privateKeyFile != null then cfg.privateKeyFile else
|
||||
if builtins.elem "wg-monitoring" (attrNames config.sops.secrets) then config.sops.secrets.wg-monitoring.path else
|
||||
config.age.secrets.wg-monitoring.path;
|
||||
config.sops.secrets.wg-monitoring.path;
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user