test
This commit is contained in:
parent
818c4bfaeb
commit
0b781d421b
2 changed files with 5 additions and 4 deletions
|
@ -9,7 +9,7 @@
|
|||
root = {
|
||||
TIMELINE_CREATE = true;
|
||||
TIMELINE_CLEANUP = true;
|
||||
SUBVOLUME = "/root";
|
||||
SUBVOLUME = "/";
|
||||
};
|
||||
home = {
|
||||
TIMELINE_CREATE = true;
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{
|
||||
imports = [ ../../common/services/snapper.nix ];
|
||||
# You need to make the snapshot directories manually:
|
||||
# sudo btrfs subvolume create /.snapshots
|
||||
# sudo btrfs subvolume create /nix/.snapshots
|
||||
# sudo btrfs subvolume create /home/.snapshots
|
||||
# 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.btrfs.autoScrub.enable = true;
|
||||
services.btrfs.autoScrub.interval = "weekly";
|
||||
|
|
Loading…
Reference in a new issue