nixos/envfs: make mounts non-critical

We usually don't want to bring the whole machine into emergency mode
just because we couldn't mount envfs. It's usually not on the critical
path.
This commit is contained in:
Jörg Thalheim 2023-05-08 11:18:45 +02:00
parent 4776229225
commit 3288479636

View File

@ -12,12 +12,13 @@ let
ln -s ${config.environment.usrbinenv} $out/env
ln -s ${config.environment.binsh} $out/sh
'' + cfg.extraFallbackPathCommands)}"
"nofail"
];
};
"/bin" = {
device = "/usr/bin";
fsType = "none";
options = [ "bind" ];
options = [ "bind" "nofail" ];
};
};
in {