mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #264870 from K900/test-eval-fix
nixos/tests/predictable-interface-names: fix eval for systemd-stage1
This commit is contained in:
commit
c4b91d02a0
@ -36,7 +36,7 @@ in pkgs.lib.listToAttrs (builtins.map ({ predictable, withNetworkd, systemdStage
|
||||
networking.useDHCP = !withNetworkd;
|
||||
|
||||
# Check if predictable interface names are working in stage-1
|
||||
boot.initrd.postDeviceCommands = script;
|
||||
boot.initrd.postDeviceCommands = lib.mkIf (!systemdStage1) script;
|
||||
|
||||
boot.initrd.systemd = lib.mkIf systemdStage1 {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user