about summary refs log tree commit diff stats
path: root/sys/secrets/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-01 22:37:43 +0200
committerSoispha <soispha@vhack.eu>2023-10-01 22:49:12 +0200
commitcacaeac4d12885d0fb26e40d8c12d00c9237ac65 (patch)
tree28ce9b2285f2aa0c173c435ded53d7ae97b685c8 /sys/secrets/default.nix
parentfix(hm/conf/lf/keybinds): Add keymap to go to nixos-server config (diff)
downloadnixos-config-cacaeac4d12885d0fb26e40d8c12d00c9237ac65.zip
feat(hm/conf/taskwarrior): Add taskserver based syncing
Diffstat (limited to '')
-rw-r--r--sys/secrets/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/secrets/default.nix b/sys/secrets/default.nix
index d1fc1714..754d901f 100644
--- a/sys/secrets/default.nix
+++ b/sys/secrets/default.nix
@@ -26,6 +26,25 @@ in {
           owner = "serverphone";
           group = "serverphone";
         };
+
+        taskserverPrivate = {
+          file = ./taskserver/private.key;
+          mode = "700";
+          owner = "soispha";
+          group = "users";
+        };
+        taskserverPublic = {
+          file = ./taskserver/public.cert;
+          mode = "700";
+          owner = "soispha";
+          group = "users";
+        };
+        taskserverCA = {
+          file = ./taskserver/ca.cert;
+          mode = "700";
+          owner = "soispha";
+          group = "users";
+        };
       };
     };
   };