diff options
author | Anthony Roussel <anthony@roussel.dev> | 2023-11-15 00:34:14 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2023-11-15 15:14:28 +0100 |
commit | 8c7c1e7a302671c685cbcfc3730b6d33dfde34b9 (patch) | |
tree | 35179634a5c2d20b8cff2c6bbbb99240d4924671 /nixos | |
parent | deae39af435a3088be677dbeb88a0167fd4682c4 (diff) |
nixos/plantuml-server: remove deprecated allowPlantumlInclude option
See https://github.com/plantuml/plantuml-server/pull/301
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-apps/plantuml-server.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/nixos/modules/services/web-apps/plantuml-server.nix b/nixos/modules/services/web-apps/plantuml-server.nix index 4e24b3f24b100..1fa69814c6c9f 100644 --- a/nixos/modules/services/web-apps/plantuml-server.nix +++ b/nixos/modules/services/web-apps/plantuml-server.nix @@ -8,6 +8,7 @@ let mkIf mkOption mkPackageOptionMD + mkRemovedOptionModule types ; @@ -16,6 +17,10 @@ let in { + imports = [ + (mkRemovedOptionModule [ "services" "plantuml-server" "allowPlantumlInclude" ] "This option has been removed from PlantUML.") + ]; + options = { services.plantuml-server = { enable = mkEnableOption (mdDoc "PlantUML server"); @@ -86,12 +91,6 @@ in default = null; description = mdDoc "When calling the proxy endpoint, the value of HTTP_AUTHORIZATION will be used to set the HTTP Authorization header."; }; - - allowPlantumlInclude = mkOption { - type = types.bool; - default = false; - description = mdDoc "Enables !include processing which can read files from the server into diagrams. Files are read relative to the current working directory."; - }; }; }; @@ -106,7 +105,6 @@ in GRAPHVIZ_DOT = "${cfg.graphvizPackage}/bin/dot"; PLANTUML_STATS = if cfg.plantumlStats then "on" else "off"; HTTP_AUTHORIZATION = cfg.httpAuthorization; - ALLOW_PLANTUML_INCLUDE = if cfg.allowPlantumlInclude then "true" else "false"; }; script = '' ${cfg.packages.jdk}/bin/java \ |