mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
nixos/networkd: drop upstreamed stage-1 unit dependencies
Reference: https://github.com/systemd/systemd/pull/27791
This commit is contained in:
parent
426bad28ad
commit
0850ee016b
@ -2989,15 +2989,9 @@ let
|
||||
|
||||
systemd.services.systemd-networkd = {
|
||||
wantedBy = [ "initrd.target" ];
|
||||
# These before and conflicts lines can be removed when this PR makes it into a release:
|
||||
# https://github.com/systemd/systemd/pull/27791
|
||||
before = ["initrd-switch-root.target"];
|
||||
conflicts = ["initrd-switch-root.target"];
|
||||
};
|
||||
systemd.sockets.systemd-networkd = {
|
||||
wantedBy = [ "initrd.target" ];
|
||||
before = ["initrd-switch-root.target"];
|
||||
conflicts = ["initrd-switch-root.target"];
|
||||
};
|
||||
|
||||
systemd.services.systemd-network-generator.wantedBy = [ "sysinit.target" ];
|
||||
|
Loading…
Reference in New Issue
Block a user