mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 02:57:44 +00:00
Start refactor
This commit is contained in:
parent
99b7ccfadb
commit
06cce18e72
155 changed files with 2139 additions and 3738 deletions
39
secrets.nix
39
secrets.nix
|
@ -1,36 +1,7 @@
|
|||
with import ./keys.nix; {
|
||||
# cube
|
||||
"hosts/cube/id.age".publicKeys = [ cube ] ++ admins;
|
||||
"hosts/cube/password.rgb.age".publicKeys = [ cube ] ++ admins;
|
||||
|
||||
"hosts/cube/acme/environment.age".publicKeys = all;
|
||||
|
||||
"hosts/cube/forgejo/password.runner.age".publicKeys = [ cube ] ++ admins;
|
||||
|
||||
"hosts/cube/grafana/password.age".publicKeys = [ cube ] ++ admins;
|
||||
|
||||
"hosts/cube/matrix/password.secret.age".publicKeys = [ cube ] ++ admins;
|
||||
"hosts/cube/matrix/password.sync.age".publicKeys = [ cube ] ++ admins;
|
||||
|
||||
"hosts/cube/nextcloud/password.age".publicKeys = [ cube ] ++ admins;
|
||||
|
||||
# disk
|
||||
"hosts/disk/id.age".publicKeys = [ disk ] ++ admins;
|
||||
"hosts/disk/password.floppy.age".publicKeys = [ disk ] ++ admins;
|
||||
|
||||
"hosts/disk/mail/password.plain.age".publicKeys = all;
|
||||
"hosts/disk/mail/password.hash.age".publicKeys = [ disk nine ] ++ admins;
|
||||
|
||||
# nine
|
||||
"hosts/nine/id.age".publicKeys = [ nine ] ++ admins;
|
||||
"hosts/nine/password.seven.age".publicKeys = [ nine ] ++ admins;
|
||||
|
||||
"hosts/nine/github2forgejo/environment.age".publicKeys = [ nine ] ++ admins;
|
||||
|
||||
# pala
|
||||
"hosts/pala/password.said.age".publicKeys = admins;
|
||||
|
||||
let
|
||||
inherit (import ./keys.nix) all;
|
||||
in {
|
||||
# shared
|
||||
"modules/ssh/config.age".publicKeys = all;
|
||||
"modules/restic/password.age".publicKeys = all;
|
||||
"modules/common/ssh/config.age".publicKeys = all;
|
||||
"modules/linux/restic/password.age".publicKeys = all;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue