about summary refs log tree commit diff stats
path: root/modules/by-name/ta/taskwarrior
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/ta/taskwarrior/module.nix35
-rw-r--r--modules/by-name/ta/taskwarrior/secrets/ca.cert (renamed from modules/by-name/se/secrets/taskserver/ca.cert)0
-rw-r--r--modules/by-name/ta/taskwarrior/secrets/credentials (renamed from modules/by-name/se/secrets/taskserver/credentials)0
-rw-r--r--modules/by-name/ta/taskwarrior/secrets/private.key (renamed from modules/by-name/se/secrets/taskserver/private.key)0
-rw-r--r--modules/by-name/ta/taskwarrior/secrets/public.cert (renamed from modules/by-name/se/secrets/taskserver/public.cert)0
5 files changed, 35 insertions, 0 deletions
diff --git a/modules/by-name/ta/taskwarrior/module.nix b/modules/by-name/ta/taskwarrior/module.nix
new file mode 100644
index 00000000..ff1569af
--- /dev/null
+++ b/modules/by-name/ta/taskwarrior/module.nix
@@ -0,0 +1,35 @@
+{...}: {
+  # HACK: Migrating the whole `taskwarrior` setup is right now unrealistic, as the module is
+  # tightly coupled with the `firefox` module, and `neorg` script.
+  # But to work around the  fact that setting the `age` secrets in the legacy module is
+  # impossible, this module was created as work-around until the `taskwarrior` module can
+  # be fully migrated. <2024-10-18>
+  config = {
+    age.secrets = {
+      taskserverPrivate = {
+        file = ./secrets/private.key;
+        mode = "700";
+        owner = "soispha";
+        group = "users";
+      };
+      taskserverPublic = {
+        file = ./secrets/public.cert;
+        mode = "700";
+        owner = "soispha";
+        group = "users";
+      };
+      taskserverCA = {
+        file = ./secrets/ca.cert;
+        mode = "700";
+        owner = "soispha";
+        group = "users";
+      };
+      taskserverCredentials = {
+        file = ./secrets/credentials;
+        mode = "700";
+        owner = "soispha";
+        group = "users";
+      };
+    };
+  };
+}
diff --git a/modules/by-name/se/secrets/taskserver/ca.cert b/modules/by-name/ta/taskwarrior/secrets/ca.cert
index 203d62a8..203d62a8 100644
--- a/modules/by-name/se/secrets/taskserver/ca.cert
+++ b/modules/by-name/ta/taskwarrior/secrets/ca.cert
diff --git a/modules/by-name/se/secrets/taskserver/credentials b/modules/by-name/ta/taskwarrior/secrets/credentials
index f3aaf502..f3aaf502 100644
--- a/modules/by-name/se/secrets/taskserver/credentials
+++ b/modules/by-name/ta/taskwarrior/secrets/credentials
diff --git a/modules/by-name/se/secrets/taskserver/private.key b/modules/by-name/ta/taskwarrior/secrets/private.key
index 5afecdaf..5afecdaf 100644
--- a/modules/by-name/se/secrets/taskserver/private.key
+++ b/modules/by-name/ta/taskwarrior/secrets/private.key
diff --git a/modules/by-name/se/secrets/taskserver/public.cert b/modules/by-name/ta/taskwarrior/secrets/public.cert
index 1cf9b5f0..1cf9b5f0 100644
--- a/modules/by-name/se/secrets/taskserver/public.cert
+++ b/modules/by-name/ta/taskwarrior/secrets/public.cert