summary refs log tree commit diff stats
path: root/system/secrets/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-08 15:36:32 +0200
committerSoispha <soispha@vhack.eu>2023-07-08 16:01:58 +0200
commit265eb9d228935f7b3b5c8ba6a583489b9f74f8b2 (patch)
tree5c073e5aaf64b606fb085bfda12656c14a63d9fb /system/secrets/default.nix
parentFeat(flake): Add agenix module (diff)
downloadnixos-server-265eb9d228935f7b3b5c8ba6a583489b9f74f8b2.tar.gz
nixos-server-265eb9d228935f7b3b5c8ba6a583489b9f74f8b2.zip
Fix(system/services/keycloak): Use agenix to store passwd
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 da21482..ac42c1c 100644
--- a/system/secrets/default.nix
+++ b/system/secrets/default.nix
@@ -1,6 +1,12 @@
 {...}: {
   age = {
     secrets = {
+      keycloak = {
+        file = ./keycloak/passwd.tix;
+        mode = "700";
+        owner = "root";
+        group = "root";
+      };
     };
   };
 }