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

  abdc5961c3: Fix starting the firewall
  e090701e2d: 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 Make the default fonts conditional on services.xserver.enable 2016-09-05 15:51:37 +02:00
hardware Merge branch 'master' into staging 2016-08-21 12:03:41 +01:00
i18n/input-method input-methods modules: fix engine description 2016-09-06 22:53:15 +09:00
installer nix: 1.11.3 -> 1.11.4 2016-09-06 16:15:22 +02:00
misc Merge pull request #15025 from ericsagnes/modules/manual 2016-08-28 13:57:34 +02:00
profiles Make it possible to disable "info" 2016-09-05 14:53:27 +02:00
programs Enable the runuser command from util-linux 2016-09-06 17:23:27 +02:00
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 KDE test: Bump kdm start timeout 2016-05-27 11:22:27 +02:00
virtualisation bightbox-image.nix: use lib in stead of stdenv.lib. Fixes #18208 2016-09-02 10:04:09 +00:00
module-list.nix Make it possible to disable "info" 2016-09-05 14:53:27 +02:00
rename.nix nixos/modules/rename.nix: fix eval error 2016-08-28 14:47:24 +01:00