1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 02:57:44 +00:00

Add secret SSH host configurations

This commit is contained in:
RGBCube 2024-04-30 12:56:07 +03:00
parent 369501ab86
commit 11f2227514
No known key found for this signature in database
4 changed files with 15 additions and 3 deletions

View file

@ -1,5 +1,7 @@
let
keys = import ./keys.nix;
all = builtins.attrValues keys;
in with keys; {
### cube
"hosts/cube/id.age".publicKeys = [ cube enka ];
@ -28,6 +30,6 @@ in with keys; {
"hosts/enka/password.said.age".publicKeys = [ enka ];
### shared
"hosts/password.acme.age".publicKeys = [ cube disk enka ];
"hosts/password.acme.age".publicKeys = all;
"modules/ssh/config.age".publicKeys = all;
}