summary refs log tree commit diff stats
path: root/system/secrets/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-04 20:10:14 +0200
committerSoispha <soispha@vhack.eu>2023-10-16 17:20:01 +0200
commitdd9bfc330e6ac936c6a88d869a0fb86ff3751fc1 (patch)
tree897f0e97db3285d66094cafbeb952109cef20785 /system/secrets/default.nix
parentfeat(system/services/taskserver): Integrate Let's Encrypt certificates (diff)
downloadnixos-server-dd9bfc330e6ac936c6a88d869a0fb86ff3751fc1.tar.gz
nixos-server-dd9bfc330e6ac936c6a88d869a0fb86ff3751fc1.zip
fix(system/services/taskserver): Store the self-signed ca key in agenix
Diffstat (limited to 'system/secrets/default.nix')
-rw-r--r--system/secrets/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/secrets/default.nix b/system/secrets/default.nix
index 658679b..c0042d7 100644
--- a/system/secrets/default.nix
+++ b/system/secrets/default.nix
@@ -31,6 +31,12 @@
         owner = "mastodon";
         group = "mastodon";
       };
+      taskserverCaKey = {
+        file = ./taskserver/ca.tix;
+        mode = "700";
+        owner = "root";
+        group = "root";
+      };
     };
   };
 }