dotfiles.nix/home/files.nix

22 lines
500 B
Nix

{ flake, config, ... }: {
xdg = { enable = true; };
home.file = let inherit (flake.config.people) me users;
in {
".pijulconfig".text = ''
[author]
name = "${me}"
full_name = "${users.${me}.name}"
email = "${users.${me}.email}"
'';
".tarsnaprc".text = ''
cachedir ${config.xdg.cacheHome}
keyfile ${config.xdg.configHome}/tarsnap/read-write-delete.key
nodump
print-stats
checkpoint-bytes 1G
humanize-numbers
'';
};
}