diff options
| author | seth <[email protected]> | 2023-09-06 17:50:53 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-09-07 13:52:26 -0400 |
| commit | e41f98de313f81a74a6ebb1131b3bd92817c4acb (patch) | |
| tree | 02272b37a7ce9650bdfc47f73be64a0a7b2f8800 /secrets/secrets.nix | |
| parent | 5d0fdf984a2708ad746669814ac874d6f7ad44b4 (diff) | |
hosts: remove p-body
Diffstat (limited to 'secrets/secrets.nix')
| -rw-r--r-- | secrets/secrets.nix | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 4dfe583..7c02845 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -4,27 +4,14 @@ let ]; atlas = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBA861lnShM2ejpzn9arzhpw33I4XdtULfZWhMp/plvL root@atlas"] ++ main; - p-body = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKkwHacWg/H62hF2XrqdkICtR4ClDMH6v4fe9/ilHkSQ root@nixos"] ++ main; in { "shared/rootPassword.age".publicKeys = main; "shared/sethPassword.age".publicKeys = main; - "shared/cloudflareApiKey.age".publicKeys = atlas ++ (builtins.filter (v: !(builtins.elem v main)) p-body); "hosts/atlas/rootPassword.age".publicKeys = atlas; "hosts/atlas/userPassword.age".publicKeys = atlas; - "hosts/atlas/binaryCache.age".publicKeys = atlas; - "hosts/atlas/clusterToken.age".publicKeys = atlas; - "hosts/atlas/secretsJson.age".publicKeys = atlas; "hosts/atlas/miniflux.age".publicKeys = atlas; "hosts/atlas/tailscaleAuthKey.age".publicKeys = atlas; "hosts/atlas/cloudflaredCreds.age".publicKeys = atlas; - - "hosts/p-body/rootPassword.age".publicKeys = p-body; - "hosts/p-body/userPassword.age".publicKeys = p-body; - "hosts/p-body/p-body2atlas.age".publicKeys = p-body; - "hosts/p-body/binaryCache.age".publicKeys = p-body; - "hosts/p-body/clusterToken.age".publicKeys = p-body; - "hosts/p-body/secretsJson.age".publicKeys = p-body; - "hosts/p-body/tailscaleAuthKey.age".publicKeys = p-body; - "hosts/p-body/cloudflaredCreds.age".publicKeys = p-body; + "hosts/atlas/cloudflareApiKey.age".publicKeys = atlas; } |
