chore: maintain

This commit is contained in:
danny 2026-01-20 13:41:53 +08:00
parent 2378a66114
commit 25482857d4
58 changed files with 1095 additions and 747 deletions

View file

@ -1,9 +1,18 @@
{ config, ... }:
{ config, lib, ... }:
let
inherit (config.networking) domain;
hostname = "paperless.${domain}";
in
{
imports = [
(import ../../../modules/paperless-ngx.nix {
domain = "paperless.net.dn";
domain = hostname;
passwordFile = config.sops.secrets."paperless/adminPassword".path;
})
];
services.nginx.virtualHosts."${hostname}" = {
useACMEHost = domain;
};
}