Revert "btrfs-snap /home"

This reverts commit 64e77aba8f.
This commit is contained in:
Motiejus Jakštys 2024-05-01 20:59:47 +03:00 committed by Motiejus Jakštys
parent 64e77aba8f
commit 2ec7dc9455

View File

@ -53,35 +53,7 @@ in {
boot.binfmt.emulatedSystems = ["aarch64-linux"]; boot.binfmt.emulatedSystems = ["aarch64-linux"];
systemd = { systemd.services.zfs-mount.enable = false;
timers = {
btrfs-snap-home-5m = {
enable = true;
wantedBy = ["timers.target"];
timerConfig.OnCalendar = "*:0/5";
};
btrfs-snap-home-1h = {
enable = true;
wantedBy = ["timers.target"];
timerConfig.OnCalendar = "*:0";
};
};
services = {
zfs-mount.enable = false;
btrfs-snap-home-5m = {
enable = true;
serviceConfig.Type = "oneshot";
script = "${pkgs.btrfs-snap}/bin/btrfs-snap -r /home 5m 12";
};
btrfs-snap-home-1h = {
enable = true;
serviceConfig.Type = "oneshot";
script = "${pkgs.btrfs-snap}/bin/btrfs-snap -r /home 1h 24";
};
};
};
mj = { mj = {
stateVersion = "23.11"; stateVersion = "23.11";