make sure taskd works on refresh

This commit is contained in:
Anish Lakhwara 2022-09-23 18:11:01 +10:00
parent dfd351baec
commit 8940b4a276
3 changed files with 7 additions and 4 deletions

View file

@ -6,4 +6,5 @@
services.taskserver.listenHost = "0.0.0.0"; services.taskserver.listenHost = "0.0.0.0";
services.taskserver.listenPort = 53589; services.taskserver.listenPort = 53589;
services.taskserver.organisations.mossnet.users = [ "anish" ]; services.taskserver.organisations.mossnet.users = [ "anish" ];
networking.firewall.allowedTCPPorts = [ 53589 ];
} }

View file

@ -1,6 +1,7 @@
{ pkgs, config, lib, ... }: { pkgs, config, lib, ... }:
{ {
# If you're setting up taskwarrior again, there's a task-setup.sh script in seafile
home.file = { home.file = {
".taskrc".source = ./taskrc; ".taskrc".source = ./taskrc;
".local/bin/task-note".source = ./bin/task-note.py; ".local/bin/task-note".source = ./bin/task-note.py;

View file

@ -12,8 +12,8 @@
# Files # Files
data.location=~/.task data.location=~/.task
#taskd.server=172.16.11.240:53589 taskd.server=task.mossnet.lan:53589
taskd.server=10.0.69.4:53589 #taskd.server=10.0.69.4:53589
taskd.ca=~/.task/keys/ca.cert taskd.ca=~/.task/keys/ca.cert
taskd.key=~/.task/keys/private.key taskd.key=~/.task/keys/private.key
taskd.certificate=~/.task/keys/public.cert 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-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-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-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-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-256.theme
#include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-gray-blue-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.tag.next=black on yellow
color.sync.rejected=red color.sync.rejected=red
color.blocked=color0 color.blocked=color0
color.tag.ops=rgb032
color.blocking=red color.blocking=red
# color.tag.ops=rgb032 color.project.glam=rgb525
color.project.none=rgb553 color.project.none=rgb553
color.footnote=yellow color.footnote=yellow