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

20 lines
382 B
Nix
Raw Normal View History

2023-02-16 22:25:26 +01:00
{ config, ... }:
{
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
};
};
};
}