16 lines
540 B
Nix
16 lines
540 B
Nix
{ pkgs, config, lib, ... }:
|
|
|
|
{
|
|
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;
|
|
};
|
|
}
|