summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-07-24 13:42:13 +0200
committersils <sils@noreply.codeberg.org>2023-07-26 16:44:50 +0000
commit2a078e843abbde9c49e3bde01be456a7806a053e (patch)
treeec132453b010cad7450245c32c45ed2c92a09ad3 /system
parentFix(system/mail): Add User (diff)
downloadnixos-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.nix12
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;
 }