diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix index c6a0dbccd8d3..eed6be0765ef 100644 --- a/nixos/modules/system/boot/systemd/initrd.nix +++ b/nixos/modules/system/boot/systemd/initrd.nix @@ -532,7 +532,7 @@ in # required for services generated with writeShellScript and friends pkgs.runtimeShell # some tools like xfs still want the sh symlink - "${pkgs.bash}/bin" + "${pkgs.bashNonInteractive}/bin" # so NSS can look up usernames "${pkgs.glibc}/lib/libnss_files.so.2"