Skip to content

Commit

Permalink
nixos/caddy: remove services.caddy.agree
Browse files Browse the repository at this point in the history
This option is no longer referenced anywhere as of NixOS#99371.
  • Loading branch information
deviant committed Oct 19, 2020
1 parent 92d4ced commit 580f0fa
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions nixos/modules/services/web-servers/caddy.nix
Expand Up @@ -24,6 +24,10 @@ let
${pkgs.jq}/bin/jq -s '.[0] * .[1]' ${adaptedConfig} ${tlsJSON} > $out
'';
in {
imports = [
(mkRemovedOptionModule [ "services" "caddy" "agree" ] "this option is no longer necessary for Caddy 2")
];

options.services.caddy = {
enable = mkEnableOption "Caddy web server";

Expand Down Expand Up @@ -66,12 +70,6 @@ in {
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 {
default = "/var/lib/caddy";
type = types.path;
Expand Down

0 comments on commit 580f0fa

Please sign in to comment.