summaryrefslogtreecommitdiffstats
path: root/old/modules/tv/iptables/default.nix
blob: cf27a26acb16fa87bfdd35b7c749fd7913e94447 (plain)
1
2
3
4
5
6
7
8
9
10
11
arg@{ config, lib, pkgs, ... }:

let
  cfg = config.tv.iptables;
  arg' = arg // { inherit cfg; };
in

{
  options.tv.iptables = import ./options.nix arg';
  config = lib.mkIf cfg.enable (import ./config.nix arg');
}