summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-03-28 11:40:04 +0100
committerSoispha <soispha@vhack.eu>2024-03-29 22:55:32 +0100
commite37ce0bab3c2758410fdc9beddd967e845d49a6b (patch)
tree18fdef1c58f03106e99f0d2aae8a2f73a0a364c8 /system
parentfix(system/services/libreddit): correct binary location in systemd service (diff)
downloadnixos-server-e37ce0bab3c2758410fdc9beddd967e845d49a6b.tar.gz
nixos-server-e37ce0bab3c2758410fdc9beddd967e845d49a6b.zip
style(system/secrets): Sort `secret.nix` and `default.nix` alphabetically
Diffstat (limited to 'system')
-rw-r--r--system/secrets/default.nix40
-rw-r--r--system/secrets/secrets.nix10
2 files changed, 25 insertions, 25 deletions
diff --git a/system/secrets/default.nix b/system/secrets/default.nix
index 66b3865..1393849 100644
--- a/system/secrets/default.nix
+++ b/system/secrets/default.nix
@@ -1,11 +1,11 @@
 {...}: {
   age = {
     secrets = {
-      matrix-synapse_registration_shared_secret = {
-        file = ./matrix-synapse/passwd.age;
+      etebase-server = {
+        file = ./etebase-server/passwd.age;
         mode = "700";
-        owner = "matrix-synapse";
-        group = "matrix-synapse";
+        owner = "etebase-server";
+        group = "etebase-server";
       };
       invidiousHmac = {
         file = ./invidious/hmac.age;
@@ -13,29 +13,29 @@
         owner = "root";
         group = "root";
       };
-      minifluxAdmin = {
-        file = ./miniflux/admin.age;
-        mode = "700";
-        owner = "root";
-        group = "root";
-      };
       mastodonMail = {
         file = ./mastodon/mail.age;
         mode = "700";
         owner = "mastodon";
         group = "mastodon";
       };
-      taskserverCaKey = {
-        file = ./taskserver/ca.age;
+      matrix-synapse_registration_shared_secret = {
+        file = ./matrix-synapse/passwd.age;
+        mode = "700";
+        owner = "matrix-synapse";
+        group = "matrix-synapse";
+      };
+      minifluxAdmin = {
+        file = ./miniflux/admin.age;
         mode = "700";
         owner = "root";
         group = "root";
       };
-      etebase-server = {
-        file = ./etebase-server/passwd.age;
-        mode = "700";
-        owner = "etebase-server";
-        group = "etebase-server";
+      resticpass = {
+        file = ./backup/backuppass.age;
+        mode = "0700";
+        owner = "root";
+        group = "root";
       };
       resticssh = {
         file = ./backup/backupssh.age;
@@ -43,9 +43,9 @@
         owner = "root";
         group = "root";
       };
-      resticpass = {
-        file = ./backup/backuppass.age;
-        mode = "0700";
+      taskserverCaKey = {
+        file = ./taskserver/ca.age;
+        mode = "700";
         owner = "root";
         group = "root";
       };
diff --git a/system/secrets/secrets.nix b/system/secrets/secrets.nix
index 25b5ed2..b450955 100644
--- a/system/secrets/secrets.nix
+++ b/system/secrets/secrets.nix
@@ -10,13 +10,13 @@ let
     server1
   ];
 in {
-  "matrix-synapse/passwd.age".publicKeys = allSecrets;
+  "backup/backuppass.age".publicKeys = allSecrets;
+  "backup/backupssh.age".publicKeys = allSecrets;
+  "etebase-server/passwd.age".publicKeys = allSecrets;
   "invidious/hmac.age".publicKeys = allSecrets;
   "invidious/settings.age".publicKeys = allSecrets;
-  "miniflux/admin.age".publicKeys = allSecrets;
   "mastodon/mail.age".publicKeys = allSecrets;
+  "matrix-synapse/passwd.age".publicKeys = allSecrets;
+  "miniflux/admin.age".publicKeys = allSecrets;
   "taskserver/ca.age".publicKeys = allSecrets;
-  "etebase-server/passwd.age".publicKeys = allSecrets;
-  "backup/backupssh.age".publicKeys = allSecrets;
-  "backup/backuppass.age".publicKeys = allSecrets;
 }