diff --git a/hosts/xps16/disks.nix b/hosts/xps16/disks.nix index ec3c684..fa3b60f 100644 --- a/hosts/xps16/disks.nix +++ b/hosts/xps16/disks.nix @@ -109,7 +109,7 @@ }; "${name}/snapshots" = { mountpoint = "${subvolPath}/.snapshots"; - mountOptions = mountOptions ++ [ "ro" ]; + mountOptions = mountOptions ++ [ "ro" "x-systemd.automount" "x-systemd.idle-timeout=5min" ]; }; }; @@ -125,7 +125,7 @@ }; "@${name}/snapshots" = { mountpoint = "${subvolPath}/.snapshots"; - mountOptions = mountOptions ++ [ "ro" ]; + mountOptions = mountOptions ++ [ "ro" "x-systemd.automount" "x-systemd.idle-timeout=5min" ]; }; }; in lib.foldl (x: y: x // y) { } [