Revert "networkd: also load builtin modules"
This reverts commit d514dc220e9fad27a46ef329360bb8db2cdf22ea. breaks unpredicable network interfaces: https://github.com/NixOS/nixpkgs/pull/29768#issuecomment-370172863
This commit is contained in:
parent
1aa59bfd3f
commit
a5dcde1a6f
@ -650,11 +650,7 @@ let
|
|||||||
unitFiles = map (name: {
|
unitFiles = map (name: {
|
||||||
target = "systemd/network/${name}";
|
target = "systemd/network/${name}";
|
||||||
source = "${cfg.units.${name}.unit}/${name}";
|
source = "${cfg.units.${name}.unit}/${name}";
|
||||||
}) (attrNames cfg.units) ++
|
}) (attrNames cfg.units);
|
||||||
(map (entry: {
|
|
||||||
target = "systemd/network/${entry}";
|
|
||||||
source = "${config.systemd.package}/lib/systemd/network/${entry}";
|
|
||||||
}) (attrNames (builtins.readDir "${config.systemd.package}/lib/systemd/network")));
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user