mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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:
parent
4776229225
commit
3288479636
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user