nixos-server: add borg backup

This commit is contained in:
2026-08-16 16:43:54 -04:00
parent 36f0d2ed9f
commit 700aa0da6e
+1 -24
View File
@@ -17,30 +17,6 @@ in
};
services = {
snapper = {
snapshotInterval = "hourly";
cleanupInterval = "1d";
configs = {
home = {
SUBVOLUME = "/home";
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
TIMELINE_LIMIT_HOURLY = "10";
TIMELINE_LIMIT_DAILY = "7";
TIMELINE_LIMIT_WEEKLY = "2";
TIMELINE_LIMIT_MONTHLY = "0";
TIMELINE_LIMIT_YEARLY = "0";
BACKGROUND_COMPARISON = "yes";
NUMBER_CLEANUP = "no";
NUMBER_MIN_AGE = "1800";
NUMBER_LIMIT = "50";
NUMBER_LIMIT_IMPORTANT = "10";
EMPTY_PRE_POST_CLEANUP = "yes";
EMPTY_PRE_POST_MIN_AGE = "1800";
};
};
};
avahi = {
enable = true;
nssmdns4 = true;
@@ -205,6 +181,7 @@ in
devenv
jump
weather
borgbackup
openjdk
openjdk17
openjdk25