mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
d7458b5fc2
For each statically configured interface, we now create a unit ‘<interface>-cfg.service’ which gets started as soon as the network device comes up. Similarly, each bridge defined in ‘networking.bridges’ and virtual interface in ‘networking.interfaces’ is created by a service ‘<interface>.service’. So if we have networking.bridges.br0.interfaces = [ "eth0" "eth1" ]; networking.interfaces = [ { name = "br0"; ipAddress = "192.168.1.1"; } ]; then there will be a unit ‘br0.service’ that depends on ‘sys-subsystem-net-devices-eth0.device’ and ‘sys-subsystem-net-devices-eth1.device’, and a unit ‘br0-cfg.service’ that depends on ‘sys-subsystem-net-devices-br0.device’. |
||
---|---|---|
.. | ||
filesystems | ||
cpu-freq.nix | ||
filesystems.nix | ||
kbd.nix | ||
lvm.nix | ||
network-interfaces.nix | ||
scsi-link-power-management.nix | ||
swraid.nix | ||
tty-backgrounds-combine.sh | ||
tty-backgrounds.nix |