From dac5135308100cb533032176e68ba97d993f50fd Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Mon, 1 May 2023 15:40:31 -0400 Subject: [PATCH] Remove calibre-web service --- machines/levitation/configuration.nix | 14 -------------- machines/tounge/configuration.nix | 11 ----------- 2 files changed, 25 deletions(-) diff --git a/machines/levitation/configuration.nix b/machines/levitation/configuration.nix index 97ba5ff..04f7b6a 100644 --- a/machines/levitation/configuration.nix +++ b/machines/levitation/configuration.nix @@ -88,20 +88,6 @@ in { max-jobs = 4; }; - # Calibre - services.calibre-web = { - enable = true; - user = "nathan"; - group = "users"; - openFirewall = true; - listen = { ip = "100.95.223.6"; }; - options = { - calibreLibrary = "/home/nathan/Books"; - enableBookConversion = true; - enableBookUploading = true; - }; - }; - # vmware virtualisation.vmware.host = { enable = true; diff --git a/machines/tounge/configuration.nix b/machines/tounge/configuration.nix index 60154f8..50a1f10 100644 --- a/machines/tounge/configuration.nix +++ b/machines/tounge/configuration.nix @@ -229,17 +229,6 @@ ''; }; }; - "calibre.mccarty.io" = { - forceSSL = true; - useACMEHost = "mccarty.io"; - locations."/" = { - proxyPass = "http://100.95.223.6:8083"; - extraConfig = '' - allow 100.64.0.0/10; - deny all; - ''; - }; - }; }; }; # Now we can configure ACME so we can get a star cert