diff options
author | sils <sils@sils.li> | 2023-07-24 13:42:13 +0200 |
---|---|---|
committer | sils <sils@noreply.codeberg.org> | 2023-07-26 16:44:50 +0000 |
commit | 2a078e843abbde9c49e3bde01be456a7806a053e (patch) | |
tree | ec132453b010cad7450245c32c45ed2c92a09ad3 /system | |
parent | Fix(system/mail): Add User (diff) | |
download | nixos-server-2a078e843abbde9c49e3bde01be456a7806a053e.tar.gz nixos-server-2a078e843abbde9c49e3bde01be456a7806a053e.zip |
Refactor(system/secrets/secrets.nix): Remove redundant secretlist
Diffstat (limited to '')
-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; } |