diff options
| author | Fuwn <[email protected]> | 2024-10-29 22:30:44 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-30 00:39:12 -0700 |
| commit | 18ffde84c04c4dd9e67455289708097726536ecf (patch) | |
| tree | 9cede8c2487f6c32c02994b9e5c879e06c36744a /modules/options/networking.nix | |
| parent | disk: add default name to root filesystem (diff) | |
| download | nixos-config-18ffde84c04c4dd9e67455289708097726536ecf.tar.xz nixos-config-18ffde84c04c4dd9e67455289708097726536ecf.zip | |
core: put fail2ban and resolved behind options
Diffstat (limited to 'modules/options/networking.nix')
| -rw-r--r-- | modules/options/networking.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/options/networking.nix b/modules/options/networking.nix new file mode 100644 index 0000000..5f9dcc2 --- /dev/null +++ b/modules/options/networking.nix @@ -0,0 +1,18 @@ +{ lib, ... }: +{ + options.modules.networking = + let + inherit (lib) mkOption types; + in + { + resolved.enable = mkOption { + default = false; + type = types.bool; + }; + + fail2ban.enable = mkOption { + default = false; + type = types.bool; + }; + }; +} |