39 lines
962 B
Nix
39 lines
962 B
Nix
{ homeDirectory, borgPasswordFile }:
|
|
{
|
|
home = {
|
|
location = {
|
|
sourceDirectories = [
|
|
"/etc/nixos"
|
|
"${homeDirectory}/.librewolf"
|
|
"${homeDirectory}/dotfiles"
|
|
"${homeDirectory}/.config/home-manager"
|
|
"${homeDirectory}/.config/Signal"
|
|
"${homeDirectory}/Documents"
|
|
"${homeDirectory}/projects"
|
|
"${homeDirectory}/Pictures"
|
|
"${homeDirectory}/school"
|
|
"${homeDirectory}/.wallpaper.png"
|
|
"${homeDirectory}/.ssh"
|
|
"${homeDirectory}/justfile"
|
|
"${homeDirectory}/.local/share/fish"
|
|
"${homeDirectory}/.gnupg"
|
|
];
|
|
excludeHomeManagerSymlinks = true;
|
|
|
|
repositories = [ "ssh://server-public/mnt/bak/laptop" ];
|
|
};
|
|
|
|
retention = {
|
|
keepHourly = 48;
|
|
keepDaily = 30;
|
|
keepWeekly = 26;
|
|
keepMonthly = 24;
|
|
keepYearly = 10;
|
|
};
|
|
|
|
storage = {
|
|
encryptionPasscommand = "cat ${borgPasswordFile}";
|
|
};
|
|
};
|
|
}
|