Compare commits

...

2 commits

Author SHA1 Message Date
f939193442 Make consumption dir public. 2025-03-30 17:41:57 -05:00
91cde865c1 Use absolute path for now. 2025-03-30 17:41:35 -05:00
4 changed files with 14 additions and 10 deletions

8
flake.lock generated
View file

@ -44,13 +44,13 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1,
"narHash": "sha256-SIKBfviJFGqzP5JJVCW7JRhSqxYKYChMFefASSt9YNU=",
"path": "pkgs/caddy",
"lastModified": 1743373947,
"narHash": "sha256-u0ng3qUqW5J1hBQACbhBkAOlyouY2VVX1AdxrYPOqkI=",
"path": "/etc/nixos/pkgs/caddy",
"type": "path"
},
"original": {
"path": "pkgs/caddy",
"path": "/etc/nixos/pkgs/caddy",
"type": "path"
}
},

View file

@ -9,7 +9,7 @@
};
agenix.url = "github:ryantm/agenix";
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05";
caddy.url = "path:pkgs/caddy";
caddy.url = "path:/etc/nixos/pkgs/caddy";
};
outputs =

View file

@ -9,7 +9,11 @@
PAPERLESS_OCR_USER_ARGS = {
"invalidate_digital_signatures" = true;
};
PAPERLESS_USE_X_FORWARD_HOST = true;
PAPERLESS_USE_X_FORWARD_PORT = true;
PAPERLESS_REDIRECT_LOGIN_TO_SSO = true;
};
consumptionDirIsPublic = true;
};
caddy.virtualHosts."paperless.tailc50184.ts.net".extraConfig = ''

10
pkgs/caddy/flake.lock generated
View file

@ -2,11 +2,11 @@
"nodes": {
"caddy": {
"locked": {
"lastModified": 1735284852,
"narHash": "sha256-mQu3IwEO294DuB7XAXOvOLriElDgRTf6rTLoDh3tMFQ=",
"lastModified": 1742276417,
"narHash": "sha256-iEGJYhUsjJdxFviduw7zUGdYewf/W7QodEuF1w8MqF0=",
"owner": "vincentbernat",
"repo": "caddy-nix",
"rev": "b421380ded7c000f432092df0f1a7afd9e187173",
"rev": "f0f28d2b4bd1fd433726e334a462d029f0440baa",
"type": "github"
},
"original": {
@ -36,8 +36,8 @@
"nixpkgs": {
"locked": {
"lastModified": 0,
"narHash": "sha256-GFzPxJzTd1rPIVD4IW+GwJlyGwBDV1Tj5FLYwDQQ9sM=",
"path": "/nix/store/50yickar04m51aqnc43gxf45g2i0n3k9-source",
"narHash": "sha256-rBfc+H1dDBUQ2mgVITMGBPI1PGuCznf9rcWX/XIULyE=",
"path": "/nix/store/sr3gj4wcx3kwy0q5gcxl49ja733bqm7b-source",
"type": "path"
},
"original": {