dotfiles.nix/home/files.nix

22 lines
500 B
Nix
Raw Normal View History

2023-10-26 02:37:42 +00:00
{ flake, config, ... }: {
2023-08-23 00:50:29 +00:00
xdg = { enable = true; };
2022-09-15 21:17:21 +00:00
2023-10-26 02:37:42 +00:00
home.file = let inherit (flake.config.people) me users;
in {
2022-10-10 21:54:15 +00:00
".pijulconfig".text = ''
[author]
2023-10-26 02:37:42 +00:00
name = "${me}"
full_name = "${users.${me}.name}"
email = "${users.${me}.email}"
2022-10-10 21:54:15 +00:00
'';
".tarsnaprc".text = ''
cachedir ${config.xdg.cacheHome}
keyfile ${config.xdg.configHome}/tarsnap/read-write-delete.key
nodump
print-stats
checkpoint-bytes 1G
humanize-numbers
'';
};
2022-09-15 21:17:21 +00:00
}