curve: allow .taskrc to be writeable, enabling contexts
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
{ pkgs, config, lib, ... }:
|
||||
|
||||
{
|
||||
# If you're setting up taskwarrior again, there's a task-setup.sh script in seafile
|
||||
home.file = {
|
||||
# WARN ugly hack
|
||||
# taskwarrior needs write access to this file for centexts
|
||||
# this way, we get a copy of the file, and we make sure it's writable
|
||||
".taskrc".source = ./taskrc;
|
||||
".taskrc".executable = true;
|
||||
".taskrc".onChange = "cp ~/.taskrc ~/.taskrc2;rm ~/.taskrc;mv ~/.taskrc2 ~/.taskrc;chmod +w ~/.taskrc";
|
||||
".local/bin/task-note".source = ./bin/task-note.py;
|
||||
".task/keys/ca.cert".source = ./ca.cert;
|
||||
".task/keys/public.cert".source = ./public.cert;
|
||||
|
||||
Reference in New Issue
Block a user