From 8940b4a276f86ff5f016d69fa6fb3a0206cc45fd Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Fri, 23 Sep 2022 18:11:01 +1000 Subject: [PATCH] make sure taskd works on refresh --- profiles/taskd/default.nix | 1 + users/profiles/task/default.nix | 1 + users/profiles/task/taskrc | 9 +++++---- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/profiles/taskd/default.nix b/profiles/taskd/default.nix index 64a914f6..247157fd 100644 --- a/profiles/taskd/default.nix +++ b/profiles/taskd/default.nix @@ -6,4 +6,5 @@ services.taskserver.listenHost = "0.0.0.0"; services.taskserver.listenPort = 53589; services.taskserver.organisations.mossnet.users = [ "anish" ]; + networking.firewall.allowedTCPPorts = [ 53589 ]; } diff --git a/users/profiles/task/default.nix b/users/profiles/task/default.nix index 7735c65a..4ed0c601 100644 --- a/users/profiles/task/default.nix +++ b/users/profiles/task/default.nix @@ -1,6 +1,7 @@ { pkgs, config, lib, ... }: { + # If you're setting up taskwarrior again, there's a task-setup.sh script in seafile home.file = { ".taskrc".source = ./taskrc; ".local/bin/task-note".source = ./bin/task-note.py; diff --git a/users/profiles/task/taskrc b/users/profiles/task/taskrc index 6143695b..0293294b 100644 --- a/users/profiles/task/taskrc +++ b/users/profiles/task/taskrc @@ -12,8 +12,8 @@ # Files data.location=~/.task -#taskd.server=172.16.11.240:53589 -taskd.server=10.0.69.4:53589 +taskd.server=task.mossnet.lan:53589 +#taskd.server=10.0.69.4:53589 taskd.ca=~/.task/keys/ca.cert taskd.key=~/.task/keys/private.key taskd.certificate=~/.task/keys/public.cert @@ -29,7 +29,7 @@ report.next.filter=(status:pending -WAITING limit:0) #include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-red-256.theme #include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-green-256.theme #include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-blue-256.theme -include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-violets-256.theme +include /nix/store/dqi683ww8bpwwxf5r2r3p7bpb1f6nj30-taskwarrior-2.6.2/share/doc/task/rc/dark-violets-256.theme #include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-yellow-green.theme #include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-gray-256.theme #include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-gray-blue-256.theme @@ -64,7 +64,8 @@ color.tag.purchase=rgb411 color.tag.next=black on yellow color.sync.rejected=red color.blocked=color0 +color.tag.ops=rgb032 color.blocking=red -# color.tag.ops=rgb032 +color.project.glam=rgb525 color.project.none=rgb553 color.footnote=yellow