mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
caddy: Follow convention of using mkEnableOption for boolean options
This commit is contained in:
parent
734602820b
commit
765b7fdd68
1 changed files with 2 additions and 4 deletions
|
|
@ -51,8 +51,7 @@ in
|
|||
{ name, ... }:
|
||||
{
|
||||
options = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
enable = lib.mkEnableOption "" // {
|
||||
default = true;
|
||||
};
|
||||
domain = lib.mkOption {
|
||||
|
|
@ -63,8 +62,7 @@ in
|
|||
type = lib.types.port;
|
||||
default = null;
|
||||
};
|
||||
tls = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
tls = lib.mkEnableOption "" // {
|
||||
default = true;
|
||||
};
|
||||
extraReverseProxyConfig = lib.mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue