summaryrefslogtreecommitdiffstats
path: root/tv/3modules/iptables.nix
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-03-14 21:14:25 +0100
committerlassulus <lass@lassul.us>2017-03-14 21:14:25 +0100
commit9f64932809b47fd5656b3cb385582ecb81d46d13 (patch)
treeddfe9e32f6a7df02c7fc8dc1f05cf6acba4dff32 /tv/3modules/iptables.nix
parent7c6bf8f43739950a6888ebfe78e17ea3b87f9182 (diff)
parentdf2ee4e726a784548faf8a9957bd0444c5cd0f71 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/3modules/iptables.nix')
-rw-r--r--tv/3modules/iptables.nix6
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;
};
};