44 lines
870 B
Nix
44 lines
870 B
Nix
{ homeDirectory, borgPasswordFile }:
|
|
{
|
|
home = {
|
|
location = {
|
|
sourceDirectories =
|
|
[
|
|
"/etc/nixos"
|
|
]
|
|
# stuff in my home directory:
|
|
++ (map (f: "${homeDirectory}/${f}") [
|
|
".zen"
|
|
".local/share/fish"
|
|
".gnupg"
|
|
".config/home-manager"
|
|
".config/Signal"
|
|
".wallpaper.png"
|
|
".ssh"
|
|
|
|
"dotfiles"
|
|
"Documents"
|
|
"projects"
|
|
"Pictures"
|
|
"school"
|
|
"justfile"
|
|
]);
|
|
|
|
excludeHomeManagerSymlinks = true;
|
|
repositories = [ "ssh://server-public/mnt/bak/laptop" ];
|
|
};
|
|
|
|
retention = {
|
|
keepHourly = 48;
|
|
keepDaily = 30;
|
|
keepWeekly = 26;
|
|
keepMonthly = 24;
|
|
keepYearly = 10;
|
|
};
|
|
|
|
storage = {
|
|
encryptionPasscommand = "cat ${borgPasswordFile}";
|
|
};
|
|
};
|
|
}
|