9 lines
260 B
Nix
9 lines
260 B
Nix
|
{ pkgs, desktop, ... }: {
|
||
|
environment.systemPackages = [ ] ++ lib.optional (builtins.isString desktop) pkgs.snapper-gui;
|
||
|
|
||
|
services.snapper = {
|
||
|
snapshotRootOnBoot = true;
|
||
|
cleanupInterval = "1d";
|
||
|
snapshotInterval = "1h";
|
||
|
};
|
||
|
}
|