hosts/xps16: mount btrfs snapshots as readonly

This commit is contained in:
2026-02-02 16:35:42 +09:00
parent 8f521284c8
commit f928ebdb50

View File

@@ -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) { } [