diff options
Diffstat (limited to 'os/srv/firewall.nix')
| -rw-r--r-- | os/srv/firewall.nix | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/os/srv/firewall.nix b/os/srv/firewall.nix deleted file mode 100644 index bc06ffe..0000000 --- a/os/srv/firewall.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ config, lib, ... }: -let - cfg = config.os.srv.firewall; -in -{ - options.os.srv.firewall = { - enable = lib.mkEnableOption "enables the nixos firewall and nftables"; - }; - - config = lib.mkIf cfg.enable { - networking = { - firewall.enable = true; - nftables.enable = true; - }; - }; -} |
