Make opening ports in the firewall optional
This commit is contained in:
@@ -25,6 +25,12 @@ in
|
||||
options.mailserver = {
|
||||
enable = mkEnableOption "nixos-mailserver";
|
||||
|
||||
openFirewall = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = "Automatically open ports in the firewall.";
|
||||
};
|
||||
|
||||
fqdn = mkOption {
|
||||
type = types.str;
|
||||
example = "mx.example.com";
|
||||
|
||||
Reference in New Issue
Block a user