Add opinioated defaults setting
This commit is contained in:
parent
b18db1e3b4
commit
a9d80c53ec
|
@ -0,0 +1,5 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
options.opinionatedDefaults = lib.mkEnableOption "opinionated defaults";
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
options.services.nginx.openFirewall = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
default = config.opinionatedDefaults;
|
||||
description = lib.mdDoc "Wether to open the firewall port for the http (80) and https (443) default ports.";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue