backyard: bind mount to /pool ro
This commit is contained in:
parent
f9f7191fdc
commit
f533f23fd4
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user