not a IFD somehow...

This commit is contained in:
Gerg-L 2023-07-31 20:06:23 -04:00
parent bd7440085c
commit ed20ccf64d
2 changed files with 4 additions and 147 deletions

View file

@ -1,4 +1,4 @@
_: {
{unstable, ...}: {
lib,
config,
pkgs,
@ -9,7 +9,9 @@ let
useHostResolvConf = config.networking.resolvconf.enable && config.networking.useHostResolvConf;
bootStage2 = pkgs.substituteAll {
src = ./stage-2-init.sh;
src = pkgs.runCommand "stage-2-init.sh" {} ''
sed '2i exec 1<>/dev/null' ${unstable}/nixos/modules/system/boot/stage-2-init.sh > $out
'';
shellDebug = "${pkgs.bashInteractive}/bin/bash";
shell = "${pkgs.bash}/bin/bash";
inherit (config.boot) readOnlyNixStore systemdExecutable extraSystemdUnitPaths;