diff options
author | Shea Levy <shea@shealevy.com> | 2018-03-01 14:56:58 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-03-01 14:56:58 -0500 |
commit | 95579af5ec0a282d8ab2fccfeeff445c2c63c74f (patch) | |
tree | 57b1bb741d574361f7e467d81f29b0eef0b20ebe /nixos/modules/system | |
parent | a486cb1af61dd88579de254637ecd4b4d3fc3173 (diff) | |
parent | 810dd0f9844e56efec66bfbf82c5e0412acbcba7 (diff) | |
download | nixlib-95579af5ec0a282d8ab2fccfeeff445c2c63c74f.tar nixlib-95579af5ec0a282d8ab2fccfeeff445c2c63c74f.tar.gz nixlib-95579af5ec0a282d8ab2fccfeeff445c2c63c74f.tar.bz2 nixlib-95579af5ec0a282d8ab2fccfeeff445c2c63c74f.tar.lz nixlib-95579af5ec0a282d8ab2fccfeeff445c2c63c74f.tar.xz nixlib-95579af5ec0a282d8ab2fccfeeff445c2c63c74f.tar.zst nixlib-95579af5ec0a282d8ab2fccfeeff445c2c63c74f.zip |
Merge remote-tracking branch 'origin/staging' into cross-nixos
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index eea10613ea58..7bf7a51a2417 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -650,7 +650,11 @@ let unitFiles = map (name: { target = "systemd/network/${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 { |