agenix
This commit is contained in:
parent
a018670eae
commit
4183ccb893
14 changed files with 169 additions and 38 deletions
12
secrets.nix
Normal file
12
secrets.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
let
|
||||
keys =
|
||||
let
|
||||
k = (import ./var/ssh-keys.nix { });
|
||||
in
|
||||
k.root; # ++ k.hd;
|
||||
secrets = [
|
||||
"roam/rclone-conf"
|
||||
"hd-password"
|
||||
];
|
||||
in
|
||||
builtins.foldl' (acc: x: acc // { "secrets/${x}.age".publicKeys = keys; }) { } secrets
|
||||
Loading…
Add table
Add a link
Reference in a new issue