mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 02:57:44 +00:00
Refactor the whole codebase. Most notable changes:
- No more fail2ban. It didn't work properly anyways, I'll need to look into this in the future - No nix-super. I don't need it and the overlay is broken so I'm waiting for that to be fixed first. - Uses nh instead of nixos-rebuild. This is much better.
This commit is contained in:
parent
f145bdaa4a
commit
62c575774b
106 changed files with 1252 additions and 1367 deletions
34
secrets.nix
34
secrets.nix
|
@ -1,18 +1,24 @@
|
|||
let
|
||||
keys = import ./keys.nix;
|
||||
in with builtins.mapAttrs (_: value: [ value ]) keys; {
|
||||
"hosts/enka/password.orhan.age".publicKeys = enka;
|
||||
"hosts/enka/password.said.age".publicKeys = enka;
|
||||
in with keys; {
|
||||
"hosts/cube/password.rgb.age".publicKeys = [ cube enka ];
|
||||
|
||||
"hosts/cube/acme/password.age".publicKeys = cube;
|
||||
"hosts/cube/forjego/password.mail.age".publicKeys = cube;
|
||||
"hosts/cube/forjego/password.runner.age".publicKeys = cube;
|
||||
"hosts/cube/grafana/password.age".publicKeys = cube;
|
||||
"hosts/cube/grafana/password.mail.age".publicKeys = cube;
|
||||
"hosts/cube/mail/password.age".publicKeys = cube;
|
||||
"hosts/cube/matrix-synapse/password.secret.age".publicKeys = cube;
|
||||
"hosts/cube/matrix-synapse/password.sync.age".publicKeys = cube;
|
||||
"hosts/cube/nextcloud/password.age".publicKeys = cube;
|
||||
"hosts/cube/password.rgb.age".publicKeys = cube;
|
||||
"hosts/cube/forgejo/password.mail.age".publicKeys = [ cube enka ];
|
||||
"hosts/cube/forgejo/password.runner.age".publicKeys = [ cube enka ];
|
||||
|
||||
"hosts/cube/grafana/password.age".publicKeys = [ cube enka ];
|
||||
"hosts/cube/grafana/password.mail.age".publicKeys = [ cube enka ];
|
||||
|
||||
"hosts/cube/matrix/password.secret.age".publicKeys = [ cube enka ];
|
||||
"hosts/cube/matrix/password.sync.age".publicKeys = [ cube enka ];
|
||||
|
||||
"hosts/cube/mail/password.age".publicKeys = [ cube enka ];
|
||||
"hosts/cube/nextcloud/password.age".publicKeys = [ cube enka ];
|
||||
|
||||
"hosts/disk/password.floppy.age".publicKeys = [ disk enka ];
|
||||
|
||||
"hosts/enka/password.orhan.age".publicKeys = [ enka ];
|
||||
"hosts/enka/password.said.age".publicKeys = [ enka ];
|
||||
|
||||
"hosts/password.acme.age".publicKeys = [ cube disk enka ];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue