Update disks

This commit is contained in:
iFargle 2023-12-25 18:20:48 +09:00
parent 55a749fe29
commit 2eac73c10d
2 changed files with 8 additions and 6 deletions

View file

@ -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";

View file

@ -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";