refactored system
This commit is contained in:
parent
6a62e2f23f
commit
386d889455
55 changed files with 336 additions and 580 deletions
16
system/desktop/btrbk.nix
Normal file
16
system/desktop/btrbk.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.btrbk.instances.btrbk = {
|
||||
onCalendar = "hourly";
|
||||
settings = {
|
||||
subvolume = "/home";
|
||||
snapshot_preserve = "40d";
|
||||
snapshot_preserve_min = "4d";
|
||||
snapshot_dir = "/btrbk_snapshots";
|
||||
target = "/run/media/till/backup/${config.networking.hostName}";
|
||||
target_preserve_min = "no";
|
||||
target_preserve = "10d 10w 24m";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue