about summary refs log tree commit diff stats
path: root/modules/by-name/ta/taskwarrior/module.nix
blob: ff1569af2516dc14a06f28dce5bb4f832b6085d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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";
      };
    };
  };
}