diff options
Diffstat (limited to 'hm')
-rw-r--r-- | hm/soispha/conf/taskwarrior/default.nix | 21 | ||||
-rw-r--r-- | hm/soispha/conf/taskwarrior/taskd/user_id.nix | bin | 0 -> 84 bytes |
2 files changed, 20 insertions, 1 deletions
diff --git a/hm/soispha/conf/taskwarrior/default.nix b/hm/soispha/conf/taskwarrior/default.nix index 3d647482..7ab1d50c 100644 --- a/hm/soispha/conf/taskwarrior/default.nix +++ b/hm/soispha/conf/taskwarrior/default.nix @@ -1,8 +1,15 @@ -{...}: { +{ + nixosConfig, + ... +}: { imports = [ ./hooks ]; + services.taskwarrior-sync = { + enable = true; + }; + programs.taskwarrior = let mkContext = project: { inherit (project) name; @@ -44,6 +51,18 @@ color = true; inherit context; + + taskd = { + server = "taskserver.vhack.eu:53589"; + trust = "strict"; + ca = + nixosConfig.age.secrets.taskserverCA.path; + key = + nixosConfig.age.secrets.taskserverPrivate.path; + certificate = + nixosConfig.age.secrets.taskserverPublic.path; + credentials = import ./taskd/user_id.nix {}; + }; }; }; } diff --git a/hm/soispha/conf/taskwarrior/taskd/user_id.nix b/hm/soispha/conf/taskwarrior/taskd/user_id.nix new file mode 100644 index 00000000..ab2567e6 --- /dev/null +++ b/hm/soispha/conf/taskwarrior/taskd/user_id.nix Binary files differ |