1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +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:
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 {