nix-conf/system/dev/dn-server/services/paperless-ngx.nix
danny dfda745829 feat: nextcloud whiteboard server
features:
nextcloud whiteboard server
nextcloud memories with recognize patch
2025-10-15 23:10:28 +08:00

19 lines
497 B
Nix

{ config, ... }:
{
imports = [
(import ../../../modules/paperless-ngx.nix {
domain = "paperless.net.dn";
passwordFile = config.sops.secrets."paperless/adminPassword".path;
})
];
# OIDC
services.paperless = {
settings = {
PAPERLESS_APPS = "allauth.socialaccount.providers.openid_connect";
PAPERLESS_SOCIAL_AUTO_SIGNUP = true;
PAPERLESS_SOCIAL_ALLOW_SIGNUPS = true;
};
environmentFile = config.sops.secrets."paperless/envFile".path;
};
}