This commit is contained in:
Till 2023-07-05 21:07:25 +02:00
parent 3d4c7bcf8e
commit f5fc3fbeda
3 changed files with 14 additions and 2 deletions

View file

@ -23,7 +23,7 @@
}
./system
./system/gnome.nix
# ./system/xfce.nix
./system/btrbk.nix
./system/hardware-nova.nix
];
};

View file

@ -10,7 +10,7 @@
src = builtins.fetchGit {
url = "ssh://git@ktiu.net/home/git/lectuR/";
ref = "main";
rev = "41c477a734c238db53b9ed2fe1e8d28117ffe59e";
rev = "0aafe4eb057a7ec12b8d6ac40ce0bfc8dab80c2b";
};
propagatedBuildInputs = [ purrr magrittr knitr kableExtra tidyr stringr yaml ];
nativeBuildInputs = [ purrr magrittr knitr kableExtra tidyr stringr yaml ];

12
system/btrbk.nix Normal file
View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
services.btrbk.instances.btrbk = {
settings = {
snapshot_preserve = "14d";
snapshot_preserve_min = "2d";
snapshot_dir = "/btrbk_snapshots";
subvolume = "/home";
};
};
}