nixpkgs/modules/system
Eelco Dolstra d7458b5fc2 Split the monolithic network-interface service into multiple units
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’.
2012-10-10 17:55:42 -04:00
..
activation Use config.system.build.systemd in the toplevel derivation 2012-10-10 16:49:59 -04:00
boot Split the monolithic network-interface service into multiple units 2012-10-10 17:55:42 -04:00
etc Lowercase debug output 2012-10-04 21:44:45 -04:00
upstart Use "wants" instead of "requires" 2012-10-02 10:32:29 -04:00