diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2023-05-08 11:18:45 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2023-05-08 11:24:18 +0200 |
commit | 328847963640c290799da2c437d7234cb4c37966 (patch) | |
tree | 361a8f865579d380a146b5a8e873ca4a579f7a2a /nixos/modules/tasks | |
parent | 4776229225be79acd8a6eb543a0292e229b3da86 (diff) | |
download | nixpkgs-328847963640c290799da2c437d7234cb4c37966.tar nixpkgs-328847963640c290799da2c437d7234cb4c37966.tar.gz nixpkgs-328847963640c290799da2c437d7234cb4c37966.tar.bz2 nixpkgs-328847963640c290799da2c437d7234cb4c37966.tar.lz nixpkgs-328847963640c290799da2c437d7234cb4c37966.tar.xz nixpkgs-328847963640c290799da2c437d7234cb4c37966.tar.zst nixpkgs-328847963640c290799da2c437d7234cb4c37966.zip |
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.
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r-- | nixos/modules/tasks/filesystems/envfs.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems/envfs.nix b/nixos/modules/tasks/filesystems/envfs.nix index 76344f5f87e..365cb46ff2f 100644 --- a/nixos/modules/tasks/filesystems/envfs.nix +++ b/nixos/modules/tasks/filesystems/envfs.nix @@ -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 { |