add btrbk job for /nix
This commit is contained in:
parent
ad2c73109a
commit
14867c3866
@ -7,7 +7,8 @@ with config.deviceSpecific; {
|
|||||||
hardware.bluetooth.enable = !isServer;
|
hardware.bluetooth.enable = !isServer;
|
||||||
services.blueman.enable = !isServer;
|
services.blueman.enable = !isServer;
|
||||||
|
|
||||||
services.btrbk.instances.home = {
|
services.btrbk.instances = {
|
||||||
|
home = {
|
||||||
settings = {
|
settings = {
|
||||||
snapshot_preserve_min = "2d";
|
snapshot_preserve_min = "2d";
|
||||||
snapshot_preserve = "7d";
|
snapshot_preserve = "7d";
|
||||||
@ -16,6 +17,16 @@ with config.deviceSpecific; {
|
|||||||
};
|
};
|
||||||
onCalendar = "daily";
|
onCalendar = "daily";
|
||||||
};
|
};
|
||||||
|
nix = {
|
||||||
|
settings = {
|
||||||
|
snapshot_preserve_min = "2d";
|
||||||
|
snapshot_preserve = "4d";
|
||||||
|
snapshot_dir = "/.snapshots";
|
||||||
|
subvolume = "/nix";
|
||||||
|
};
|
||||||
|
onCalendar = "daily";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.earlyoom = {
|
services.earlyoom = {
|
||||||
enable = devInfo.ram < 16;
|
enable = devInfo.ram < 16;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user