helm/home/profiles/task/default.nix

20 lines
713 B
Nix
Raw Normal View History

2022-09-18 15:13:50 -07:00
{ pkgs, config, lib, ... }:
{
home.file = {
2023-08-12 17:15:44 -07:00
# Because the below is inconsistent, I turn it off once I have a copy in place.
".taskrc".enable = true;
# 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
2022-09-18 15:13:50 -07:00
".taskrc".source = ./taskrc;
# ".taskrc".executable = true;
2024-03-15 23:25:49 -07:00
# ".taskrc".onChange = "cp ~/.taskrc ~/.taskrc2;rm ~/.taskrc;mv ~/.taskrc2 ~/.taskrc;chmod +w ~/.taskrc";
".task/keys/ca.cert".source = ./ca.cert;
".task/keys/public.cert".source = ./public.cert;
2023-08-12 17:15:44 -07:00
".local/bin/task-note".source = ./bin/task-note.py;
".local/bin/set-idea".source = ./bin/set-idea.sh;
2022-09-18 15:13:50 -07:00
};
}