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