nixos/caddy: remove services.caddy.agree
This option is no longer referenced anywhere as of #99371.
This commit is contained in:
parent
92d4ced442
commit
580f0faa75
@ -24,6 +24,10 @@ let
|
|||||||
${pkgs.jq}/bin/jq -s '.[0] * .[1]' ${adaptedConfig} ${tlsJSON} > $out
|
${pkgs.jq}/bin/jq -s '.[0] * .[1]' ${adaptedConfig} ${tlsJSON} > $out
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
imports = [
|
||||||
|
(mkRemovedOptionModule [ "services" "caddy" "agree" ] "this option is no longer necessary for Caddy 2")
|
||||||
|
];
|
||||||
|
|
||||||
options.services.caddy = {
|
options.services.caddy = {
|
||||||
enable = mkEnableOption "Caddy web server";
|
enable = mkEnableOption "Caddy web server";
|
||||||
|
|
||||||
@ -66,12 +70,6 @@ in {
|
|||||||
description = "Email address (for Let's Encrypt certificate)";
|
description = "Email address (for Let's Encrypt certificate)";
|
||||||
};
|
};
|
||||||
|
|
||||||
agree = mkOption {
|
|
||||||
default = false;
|
|
||||||
type = types.bool;
|
|
||||||
description = "Agree to Let's Encrypt Subscriber Agreement";
|
|
||||||
};
|
|
||||||
|
|
||||||
dataDir = mkOption {
|
dataDir = mkOption {
|
||||||
default = "/var/lib/caddy";
|
default = "/var/lib/caddy";
|
||||||
type = types.path;
|
type = types.path;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user