diff options
author | sils <sils@sils.li> | 2023-07-24 13:42:13 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-11 01:11:23 +0200 |
commit | e1f0250d5c333f583faaf41fb8bc25931c897e38 (patch) | |
tree | bbaf448a972d05009f6c56e6d4f50eb24c5a32a5 /system | |
parent | Merge: Branch 'snapper' (diff) | |
download | nixos-server-e1f0250d5c333f583faaf41fb8bc25931c897e38.tar.gz nixos-server-e1f0250d5c333f583faaf41fb8bc25931c897e38.zip |
Refactor(system/secrets/secrets.nix): Remove redundant secretlist
Diffstat (limited to 'system')
-rw-r--r-- | system/secrets/secrets.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/system/secrets/secrets.nix b/system/secrets/secrets.nix index 2fd4132..11c0655 100644 --- a/system/secrets/secrets.nix +++ b/system/secrets/secrets.nix @@ -3,15 +3,13 @@ let sils = "age1vuhaey7kd9l76y6f9weeqmde3s4kjw38869ju6u3027yece2r3rqssjxst"; server1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMnqsfIZjelH7rcvFvnLR5zUZuC8thsBupBlvjcMRBUm"; -in { - "keycloak/passwd.tix".publicKeys = [ - soispha - sils - server1 - ]; - "matrix-synapse/passwd.tix".publicKeys = [ + + allSecrets = [ soispha sils server1 ]; +in { + "keycloak/passwd.tix".publicKeys = allSecrets; + "matrix-synapse/passwd.tix".publicKeys = allSecrets; } |