diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index e3a56f72..259a7554 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -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"; diff --git a/nixos/hosts/nuc-server/disks.nix b/nixos/hosts/nuc-server/disks.nix index 4bf5f1b2..e6b75dbe 100644 --- a/nixos/hosts/nuc-server/disks.nix +++ b/nixos/hosts/nuc-server/disks.nix @@ -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";