add agenix
This commit is contained in:
parent
3fa51bdbd3
commit
e6bc1d2f87
9 changed files with 152 additions and 38 deletions
BIN
secrets/env.age
Normal file
BIN
secrets/env.age
Normal file
Binary file not shown.
11
secrets/secrets.nix
Normal file
11
secrets/secrets.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
let
|
||||
user1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxZoOukLwiPP4tFZ2IzI61ZQccSwudPYYPJuU3COTAf";
|
||||
users = [ user1 ];
|
||||
|
||||
system1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP9LR3o//JjFpnJ5+MSJVmTTC3x47Ca8ckL8tDRtHJZv";
|
||||
systems = [ system1 ];
|
||||
in
|
||||
{
|
||||
#"secret1.age".publicKeys = [ user1 system1 ];
|
||||
"env.age".publicKeys = users ++ systems;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue