nixos-config/hosts/thinkpad/modules/snapper/default.nix

20 lines
374 B
Nix
Raw Normal View History

2023-05-19 11:42:43 +02:00
{ ... }:
2023-02-16 22:25:26 +01:00
{
services.snapper = {
configs = {
home = {
2023-05-16 19:41:06 +02:00
SUBVOLUME = "/home";
ALLOW_USERS = [ "rouven" ];
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
2023-02-16 22:25:26 +01:00
};
lib = {
2023-05-16 19:41:06 +02:00
SUBVOLUME = "/var/lib";
ALLOW_USERS = [ "rouven" ];
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
2023-02-16 22:25:26 +01:00
};
};
};
}