nixpkgs/modules/system/boot
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
..
loader The efi boot stub code should only be run if it is enabled 2012-08-09 10:37:43 -04:00
kernel.nix Merge branch 'master' of github.com:NixOS/nixos into systemd 2012-08-20 11:27:38 -04:00
luksroot.nix LUKS root: Fix key file check 2012-08-02 11:39:31 +02:00
modprobe.nix systemd: Use the kernel modules from /run/booted-system 2012-08-14 17:09:44 -04:00
shutdown.nix Fix a hang during shutdown 2012-08-14 16:45:50 -04:00
stage-1-init.sh Merge remote-tracking branch 'origin/master' into systemd 2012-09-28 11:35:27 -04:00
stage-1.nix Merge remote-tracking branch 'origin/master' into systemd 2012-09-28 11:35:27 -04:00
stage-2-init.sh stage-2-init: Don't rely on groups being initialised 2012-10-04 16:15:30 -04:00
stage-2.nix Optionally make the Nix store read-only to enforce immutability 2012-09-25 16:33:21 -04:00
systemd-unit-options.nix Add support for postStop scripts 2012-10-10 17:55:13 -04:00
systemd.nix Split the monolithic network-interface service into multiple units 2012-10-10 17:55:42 -04:00