backyard: bind mount to /pool ro

This commit is contained in:
Tim Van Baak 2025-04-04 04:08:43 +00:00
parent f9f7191fdc
commit f533f23fd4

View File

@ -1,7 +1,7 @@
{ config, lib, pkgs, modulesPath, ... }: { config, lib, pkgs, modulesPath, ... }:
let let
zfsMount = dev: { device = dev; fsType = "zfs"; options = [ "nofail" ]; }; zfsMount = dev: { device = dev; fsType = "zfs"; options = [ "nofail" ]; };
bindMount = dev: { device = dev; options = [ "bind" "nofail" ]; }; bindMount = dev: { device = dev; options = [ "bind" "nofail" "ro" ]; };
in in
{ {
fileSystems = { fileSystems = {