diff --git a/hosts/xps16/services/btrfs.nix b/hosts/xps16/services/btrfs.nix index 9fa56a5..fe21ba9 100644 --- a/hosts/xps16/services/btrfs.nix +++ b/hosts/xps16/services/btrfs.nix @@ -5,7 +5,7 @@ systemd.services."btrfs-scrub-${utils.escapeSystemdPath "/"}".serviceConfig = { PrivateNetwork = true; RestrictFileSystems = [ - "sysfs" # Needed to set scrub speed in /sys/fs/btrfs + "@basic-api" # Needed by both systemd and btrfs (the latter for setting scrub speed in /sys/fs/btrfs) "btrfs" ]; };