Unverified Commit bc846d64 authored by Marcel's avatar Marcel
Browse files

nixos/ifstate: add upstream initrd networking targets

parent f73402c7
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -254,6 +254,17 @@ in
            )
          ];

          # https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/networkd.nix#L3444
          additionalUpstreamUnits = [
            "network-online.target"
            "network-pre.target"
            "network.target"
            "nss-lookup.target"
            "nss-user-lookup.target"
            "remote-fs-pre.target"
            "remote-fs.target"
          ];

          services.ifstate-initrd = {
            description = "IfState initrd";