mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
not a IFD somehow...
This commit is contained in:
parent
bd7440085c
commit
ed20ccf64d
2 changed files with 4 additions and 147 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue