taskwarrior: make .taskrc writable (#2761)
This is achieved by generating the Home Manager configuration file as `~/.config/task/home-manager-taskrc`, and including that file into ~/.config/task/taskrc. Fixes #2360 Co-authored-by: mainrs <5113257+mainrs@users.noreply.github.com> Co-authored-by: Nicolas Berbiche <nicolas@normie.dev>
This commit is contained in:
parent
3604a20b67
commit
e361373b5f
2 changed files with 26 additions and 4 deletions
|
|
@ -21,9 +21,9 @@ with lib;
|
|||
test.stubs.taskwarrior = { };
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/task/taskrc
|
||||
assertFileContent home-files/.config/task/taskrc ${
|
||||
pkgs.writeText "taskwarrior.expected" ''
|
||||
assertFileExists home-files/.config/task/home-manager-taskrc
|
||||
assertFileContent home-files/.config/task/home-manager-taskrc ${
|
||||
pkgs.writeText "taskwarrior.home-conf.expected" ''
|
||||
data.location=/some/data/location
|
||||
include dark-violets-256.theme
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue