Update comments in snapper.nix
This commit is contained in:
parent
482ec34f16
commit
c6666c34a0
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
|||
{ lib, pkgs, desktop, ... }: {
|
||||
environment.systemPackages = [ pkgs.snapper ] ++ lib.optional (builtins.isString desktop) pkgs.snapper-gui;
|
||||
|
||||
# You need to make the snapshot directories manually:
|
||||
# sudo rm -rf /.snapshots /home/.snapshots /nix/.snapshots
|
||||
# sudo btrfs subvolume create /.snapshots
|
||||
# sudo btrfs subvolume create /nix/.snapshots
|
||||
# sudo btrfs subvolume create /home/.snapshots
|
||||
|
||||
services.snapper = {
|
||||
snapshotRootOnBoot = true;
|
||||
cleanupInterval = "1d";
|
||||
|
|
Loading…
Reference in a new issue