diff options
author | tv <tv@krebsco.de> | 2017-03-14 20:57:21 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-03-14 21:02:08 +0100 |
commit | df2ee4e726a784548faf8a9957bd0444c5cd0f71 (patch) | |
tree | 3327df58929ea7c700876fe026483c0b2fa45b45 /tv/3modules/iptables.nix | |
parent | 7a293af6dbacf863627870ecf62d8b1f15933ad2 (diff) |
* iptables: fix ordering
refs nixpkgs fb46df8a9a4102e265f4b14af48a5df90d5b06c3
Diffstat (limited to 'tv/3modules/iptables.nix')
-rw-r--r-- | tv/3modules/iptables.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tv/3modules/iptables.nix b/tv/3modules/iptables.nix index 803ed6fbf..56861dc74 100644 --- a/tv/3modules/iptables.nix +++ b/tv/3modules/iptables.nix @@ -57,8 +57,8 @@ let { networking.firewall.enable = false; systemd.services.tv-iptables = { - description = "tv-iptables"; - wantedBy = [ "network-pre.target" ]; + wantedBy = [ "sysinit.target" ]; + wants = [ "network-pre.target" ]; before = [ "network-pre.target" ]; after = [ "systemd-modules-load.service" ]; @@ -79,6 +79,8 @@ let { ip6tables-restore < ${rules 6} ''; }; + + unitConfig.DefaultDependencies = false; }; }; |