flake: convert secrets to module argument
This commit is contained in:
parent
941b8060c9
commit
303c344ffb
7 changed files with 13 additions and 12 deletions
|
@ -20,6 +20,7 @@ in
|
|||
};
|
||||
|
||||
config = mkIf config.modules.secrets.enable {
|
||||
_module.args.secrets = config.secrets;
|
||||
secrets = mapAttrs (n: v: v.path) config.age.secrets;
|
||||
age.secrets = mkMerge [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue