mirror of
https://github.com/nmasur/dotfiles
synced 2025-10-11 14:53:17 +00:00
Compare commits
3 Commits
9c4219da40
...
57e593aabc
Author | SHA1 | Date | |
---|---|---|---|
|
57e593aabc | ||
|
b119256ba6 | ||
|
54948353dd |
@@ -68,7 +68,7 @@ in
|
|||||||
# Tell Caddy to use Cloudflare DNS for ACME challenge validation
|
# Tell Caddy to use Cloudflare DNS for ACME challenge validation
|
||||||
services.caddy.package = pkgs.caddy.withPlugins {
|
services.caddy.package = pkgs.caddy.withPlugins {
|
||||||
plugins = [ "github.com/caddy-dns/cloudflare@v0.2.1" ];
|
plugins = [ "github.com/caddy-dns/cloudflare@v0.2.1" ];
|
||||||
hash = "sha256-S1JN7brvH2KIu7DaDOH1zij3j8hWLLc0HdnUc+L89uU=";
|
hash = "sha256-AcWko5513hO8I0lvbCLqVbM1eWegAhoM0J0qXoWL/vI=";
|
||||||
};
|
};
|
||||||
nmasur.presets.services.caddy.tlsPolicies = [
|
nmasur.presets.services.caddy.tlsPolicies = [
|
||||||
{
|
{
|
||||||
|
@@ -158,7 +158,7 @@ in
|
|||||||
};
|
};
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.awscli2}/bin/aws s3 sync --exclude */gitea.db* \
|
${pkgs.awscli2}/bin/aws s3 sync --exclude */gitea.db* \
|
||||||
${giteaPath}/ \
|
${giteaPath}/repositories/ \
|
||||||
s3://${config.nmasur.presets.services.litestream.s3.bucket}/gitea-data/ \
|
s3://${config.nmasur.presets.services.litestream.s3.bucket}/gitea-data/ \
|
||||||
--endpoint-url=https://${config.nmasur.presets.services.litestream.s3.endpoint}
|
--endpoint-url=https://${config.nmasur.presets.services.litestream.s3.endpoint}
|
||||||
'';
|
'';
|
||||||
|
@@ -17,9 +17,11 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
mediaDir = "/data/generic/paperless";
|
mediaDir = "/data/generic/paperless";
|
||||||
passwordFile = config.secrets.paperless.dest;
|
passwordFile = config.secrets.paperless.dest;
|
||||||
|
configureTika = true; # Enable processing of emails
|
||||||
settings = {
|
settings = {
|
||||||
PAPERLESS_OCR_USER_ARGS = builtins.toJSON { invalidate_digital_signatures = true; };
|
PAPERLESS_OCR_USER_ARGS = builtins.toJSON { invalidate_digital_signatures = true; };
|
||||||
PAPERLESS_URL = "https://${hostnames.paperless}";
|
PAPERLESS_URL = "https://${hostnames.paperless}";
|
||||||
|
PAPERLESS_DATE_ORDER = "MDY"; # Check document for US-formatted dates
|
||||||
|
|
||||||
# Enable if changing the path name in Caddy
|
# Enable if changing the path name in Caddy
|
||||||
# PAPERLESS_FORCE_SCRIPT_NAME = "/paperless";
|
# PAPERLESS_FORCE_SCRIPT_NAME = "/paperless";
|
||||||
|
Reference in New Issue
Block a user