Update disks
This commit is contained in:
parent
55a749fe29
commit
2eac73c10d
2 changed files with 8 additions and 6 deletions
|
@ -1,9 +1,10 @@
|
||||||
{
|
{
|
||||||
imports = [ ../../common/services/snapper.nix ];
|
imports = [ ../../common/services/snapper.nix ];
|
||||||
# You need to make the snapshot directories manually:
|
# You need to make the snapshot directories manually:
|
||||||
# sudo btrfs subvolume create /.snapshots
|
# sudo rm -rf /.snapshots /home/.snapshots /nix/.snapshots
|
||||||
# sudo btrfs subvolume create /nix/.snapshots
|
# sudo btrfs subvolume create /.snapshots
|
||||||
# sudo btrfs subvolume create /home/.snapshots
|
# sudo btrfs subvolume create /nix/.snapshots
|
||||||
|
# sudo btrfs subvolume create /home/.snapshots
|
||||||
|
|
||||||
services.btrfs.autoScrub.enable = true;
|
services.btrfs.autoScrub.enable = true;
|
||||||
services.btrfs.autoScrub.interval = "weekly";
|
services.btrfs.autoScrub.interval = "weekly";
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
{
|
{
|
||||||
imports = [ ../../common/services/snapper.nix ];
|
imports = [ ../../common/services/snapper.nix ];
|
||||||
# You need to make the snapshot directories manually:
|
# You need to make the snapshot directories manually:
|
||||||
# sudo btrfs subvolume create /.snapshots
|
# sudo rm -rf /.snapshots /home/.snapshots /nix/.snapshots
|
||||||
# sudo btrfs subvolume create /nix/.snapshots
|
# sudo btrfs subvolume create /.snapshots
|
||||||
# sudo btrfs subvolume create /home/.snapshots
|
# sudo btrfs subvolume create /nix/.snapshots
|
||||||
|
# sudo btrfs subvolume create /home/.snapshots
|
||||||
|
|
||||||
services.btrfs.autoScrub.enable = true;
|
services.btrfs.autoScrub.enable = true;
|
||||||
services.btrfs.autoScrub.interval = "weekly";
|
services.btrfs.autoScrub.interval = "weekly";
|
||||||
|
|
Loading…
Reference in a new issue