nixpkgs/nixos/modules
aszlig fb46df8a9a
nixos: Fix ordering of firewall.service
Follow-up to the following commits:

  abdc5961c3cdf9f5893ea1e91ba08ff5089f53a4: Fix starting the firewall
  e090701e2d09aec3e8866ab9a8e53c37973ffeb4: Order before sysinit

Solely use sysinit.target here instead of multi-user.target because we
want to make sure that the iptables rules are applied *before* any
socket units are started.

The reason I've dropped the wantedBy on multi-user.target is that
sysinit.target is already a part of the dependency chain of
multi-user.target.

To make sure that this holds true, I've added a small test case to
ensure that during switch of the configuration the firewall.service is
considered as well.

Tested using the firewall NixOS test.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @edolstra
2016-09-07 15:11:24 +02:00
..
config
hardware
i18n/input-method
installer
misc
profiles
programs
security Merge pull request #18366 from groxxda/acme-loop 2016-09-06 23:02:07 +02:00
services nixos: Fix ordering of firewall.service 2016-09-07 15:11:24 +02:00
system Merge branch 'stage2-generalise-containers' of https://github.com/rickynils/nixpkgs 2016-09-07 05:39:22 -04:00
tasks nfs module: Fix dependency on statd and idmapd 2016-09-07 14:15:57 +02:00
testing
virtualisation
module-list.nix
rename.nix