diff options
author | tv <tv@shackspace.de> | 2015-07-13 17:36:31 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-07-13 17:47:49 +0200 |
commit | 0345c30b1b3c3b01ba5455a7fc6bee338c36052a (patch) | |
tree | 73cd25f1107480295823ca5f904362f98401e85a /3modules/tv/iptables.nix | |
parent | c27bd8af5d8b0ef638d703ad8942ce2309785e2e (diff) |
3 tv.*: use mkEnableOption
Diffstat (limited to '3modules/tv/iptables.nix')
-rw-r--r-- | 3modules/tv/iptables.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/3modules/tv/iptables.nix b/3modules/tv/iptables.nix index 096b04e1d..7b9edd38b 100644 --- a/3modules/tv/iptables.nix +++ b/3modules/tv/iptables.nix @@ -11,10 +11,7 @@ let }; api = { - enable = mkOption { - type = types.bool; - default = false; - }; + enable = mkEnableOption "tv.iptables"; input-internet-accept-new-tcp = mkOption { type = with types; listOf str; |