Compare commits
No commits in common. "ac2690c9738a51f0e7dc5b85d9ad4e8731120f5b" and "3f175d1b96d4ddabc11353640f605d1941e0cab8" have entirely different histories.
ac2690c973
...
3f175d1b96
4 changed files with 4 additions and 27 deletions
|
|
@ -37,7 +37,6 @@
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./restic.nix
|
./restic.nix
|
||||||
./samba.nix
|
./samba.nix
|
||||||
./snapper.nix
|
|
||||||
|
|
||||||
../../users/hana
|
../../users/hana
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -13,14 +13,14 @@
|
||||||
repositoryFile = config.age.secrets.restic_url.path;
|
repositoryFile = config.age.secrets.restic_url.path;
|
||||||
|
|
||||||
paths = ["/flower"];
|
paths = ["/flower"];
|
||||||
exclude = ["/.snapshots"];
|
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
# every 6 hours
|
# every 30mns
|
||||||
OnCalendar = "*-*-* 00,06,12,18:00:00";
|
OnCalendar = "*-*-* *:00,30:00";
|
||||||
Persistent = true;
|
Persistent = true;
|
||||||
};
|
};
|
||||||
pruneOpts = [
|
pruneOpts = [
|
||||||
"--keep-last 8"
|
"--keep-last 24"
|
||||||
|
"--keep-hourly 24"
|
||||||
"--keep-daily 7"
|
"--keep-daily 7"
|
||||||
"--keep-weekly 5"
|
"--keep-weekly 5"
|
||||||
"--keep-monthly 12"
|
"--keep-monthly 12"
|
||||||
|
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
services.snapper = {
|
|
||||||
cleanupInterval = "1h";
|
|
||||||
persistentTimer = true;
|
|
||||||
snapshotInterval = "*-*-* *:00,30:00";
|
|
||||||
configs.home = {
|
|
||||||
FSTYPE = "btrfs";
|
|
||||||
SUBVOLUME = "/flower";
|
|
||||||
TIMELINE_CLEANUP = true;
|
|
||||||
TIMELINE_CREATE = true;
|
|
||||||
TIMELINE_MIN_AGE = "86400";
|
|
||||||
TIMELINE_LIMIT_HOURLY = "24";
|
|
||||||
TIMELINE_LIMIT_DAILY = "7";
|
|
||||||
TIMELINE_LIMIT_WEEKLY = "5";
|
|
||||||
TIMELINE_LIMIT_MONTHLY = "3";
|
|
||||||
TIMELINE_LIMIT_YEARLY = "0";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -10,7 +10,4 @@
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
useRoutingFeatures = if config.me.environment == "headless" then "both" else "client";
|
useRoutingFeatures = if config.me.environment == "headless" then "both" else "client";
|
||||||
};
|
};
|
||||||
systemd.services.tailscaled.serviceConfig.LogFilterPatterns = [
|
|
||||||
"~magicsock.*does not know about peer.*removing route"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue