mirror of
https://codeberg.org/hyperreal/home-manager
synced 2024-11-25 10:13:40 +01:00
parent
94d1ced87a
commit
7c5a349b54
39
home.nix
39
home.nix
@ -16,7 +16,6 @@
|
||||
# environment.
|
||||
home.packages = with pkgs; [
|
||||
arp-scan
|
||||
borgbackup
|
||||
curlie
|
||||
direnv
|
||||
diskonaut
|
||||
@ -37,7 +36,6 @@
|
||||
starship
|
||||
tealdeer
|
||||
vivid
|
||||
wl-clipboard
|
||||
wthrr
|
||||
yazi
|
||||
zellij
|
||||
@ -83,43 +81,6 @@
|
||||
settings = lib.importTOML confs/starship.toml;
|
||||
};
|
||||
|
||||
# borgmatic
|
||||
services.borgmatic = {
|
||||
enable = true;
|
||||
frequency = "daily";
|
||||
};
|
||||
programs.borgmatic = {
|
||||
enable = true;
|
||||
backups.epool = {
|
||||
location = {
|
||||
repositories = [ "/epool/borgbackup/moonshadow" ];
|
||||
patterns = [
|
||||
"+ /home/jas"
|
||||
"- /home/jas/.cache"
|
||||
"- /home/jas/downloads"
|
||||
"- /home/jas/.local/share/containers"
|
||||
"- /home/jas/.config/emacs"
|
||||
];
|
||||
};
|
||||
retention = {
|
||||
keepDaily = 7;
|
||||
keepMonthly = 12;
|
||||
keepWeekly = 4;
|
||||
keepYearly = 4;
|
||||
};
|
||||
consistency.checks = [
|
||||
{
|
||||
name = "repository";
|
||||
frequency = "2 weeks";
|
||||
}
|
||||
{
|
||||
name = "archives";
|
||||
frequency = "4 weeks";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# zsh config
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user