Move homelab services to oliverdavies.uk domain

This commit is contained in:
Oliver Davies 2025-01-21 00:46:13 +00:00
parent f740c91a6c
commit 716cb791e9
14 changed files with 31 additions and 31 deletions

View file

@ -2,6 +2,9 @@
with lib;
let
url = "paperless.oliverdavies.uk";
in
{
options.features.homelab.paperless.enable = mkEnableOption "Enable paperless";
@ -13,12 +16,12 @@ with lib;
dataDir = "/mnt/media/paperless";
settings = {
PAPERLESS_URL = "https://paperless.opdavies.uk";
PAPERLESS_URL = "https://${url}";
};
};
caddy.virtualHosts."paperless.opdavies.uk" = {
useACMEHost = "opdavies.uk";
caddy.virtualHosts."${url}" = {
useACMEHost = "oliverdavies.uk";
extraConfig = "reverse_proxy localhost:28981";
};