blob: 7d46d456386630cd4d321e88ffc585e88fc14102 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
arg@{ config, lib, pkgs, ... }:
let
cfg = config.lass.iptables;
arg' = arg // { inherit cfg; };
in
{
options.lass.iptables = import ./options.nix arg';
config = lib.mkIf cfg.enable (import ./config.nix arg');
}
|