Skip to content

Commit

Permalink
Revert "networkd: also load builtin modules"
Browse files Browse the repository at this point in the history
This reverts commit d514dc2.

breaks unpredicable network interfaces: #29768 (comment)
  • Loading branch information
Mic92 committed Mar 4, 2018
1 parent 1aa59bf commit a5dcde1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions nixos/modules/system/boot/networkd.nix
Expand Up @@ -650,11 +650,7 @@ let
unitFiles = map (name: {
target = "systemd/network/${name}";
source = "${cfg.units.${name}.unit}/${name}";
}) (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")));
}) (attrNames cfg.units);
in

{
Expand Down

0 comments on commit a5dcde1

Please sign in to comment.