mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-16 05:43:10 +01:00
20 lines
374 B
Nix
20 lines
374 B
Nix
{ ... }:
|
|
{
|
|
services.snapper = {
|
|
configs = {
|
|
home = {
|
|
SUBVOLUME = "/home";
|
|
ALLOW_USERS = [ "rouven" ];
|
|
TIMELINE_CREATE = true;
|
|
TIMELINE_CLEANUP = true;
|
|
};
|
|
lib = {
|
|
SUBVOLUME = "/var/lib";
|
|
ALLOW_USERS = [ "rouven" ];
|
|
TIMELINE_CREATE = true;
|
|
TIMELINE_CLEANUP = true;
|
|
};
|
|
};
|
|
};
|
|
}
|