From f928ebdb50e2315021f69193cb59e9dd0e5f36c8 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 2 Feb 2026 16:35:42 +0900 Subject: [PATCH] hosts/xps16: mount btrfs snapshots as readonly --- 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 be87f3d..5205056 100644 --- a/hosts/xps16/disks.nix +++ b/hosts/xps16/disks.nix @@ -109,7 +109,7 @@ }; "${name}/snapshots" = { mountpoint = "${subvolPath}/.snapshots"; - inherit mountOptions; + mountOptions = mountOptions ++ [ "ro" ]; }; }; @@ -125,7 +125,7 @@ }; "@${name}/snapshots" = { mountpoint = "${subvolPath}/.snapshots"; - inherit mountOptions; + mountOptions = mountOptions ++ [ "ro" ]; }; }; in lib.foldl (x: y: x // y) { } [