From 6e033dcca3a36428e756ff65d869af43d177be82 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 2 Feb 2026 17:33:27 +0900 Subject: [PATCH] hosts/xps16: automount snapshot dirs --- hosts/xps16/disks.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { } [