nixos/network-interfaces-scripted: remove network-setup unit if unused
This commit is contained in:
parent
692517bf85
commit
ec00b4bb11
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ let
|
|||
bindsTo = [ "network-setup.service" ];
|
||||
};
|
||||
|
||||
networkSetup =
|
||||
networkSetup = lib.mkIf (config.networking.resolvconf.enable || cfg.defaultGateway != null || cfg.defaultGateway6 != null)
|
||||
{ description = "Networking Setup";
|
||||
|
||||
after = [ "network-pre.target" "systemd-udevd.service" "systemd-sysctl.service" ];
|
||||
|
|
Loading…
Reference in a new issue