diff options
Diffstat (limited to 'tv')
-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 803ed6f..56861dc 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; }; }; |