chore: various minor updates

This commit is contained in:
oddlama 2024-01-12 15:54:55 +01:00
parent bf476d5be7
commit 4241f53f66
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 8 additions and 9 deletions

6
flake.lock generated
View file

@ -981,11 +981,11 @@
"pre-commit-hooks": "pre-commit-hooks_3"
},
"locked": {
"lastModified": 1704938286,
"narHash": "sha256-/uv+N2v5ixqYz7SG8R5GWOTdrNKboHEp85BR5Jdz6qE=",
"lastModified": 1704999567,
"narHash": "sha256-Whj1PFPomS/f97OD30CRrETTH/dmnUJdjEevDLJG4MM=",
"owner": "oddlama",
"repo": "nixos-extra-modules",
"rev": "c55f465ba1f369852ab4122a9fa42c85b4a571de",
"rev": "4744a2844cd74ca9b122fbaaae5ae97159c0d30e",
"type": "github"
},
"original": {

View file

@ -59,7 +59,7 @@ in {
enable = true;
address = "0.0.0.0";
passwordFile = config.age.secrets.paperless-admin-password.path;
extraConfig = {
settings = {
PAPERLESS_URL = "https://${paperlessDomain}";
PAPERLESS_CONSUMER_ENABLE_BARCODES = true;
PAPERLESS_CONSUMER_ENABLE_ASN_BARCODE = true;

View file

@ -82,7 +82,7 @@ in {
settings = {
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "https://gitea.com";
DEFAULT_ACTIONS_URL = "github";
};
database = {
SQLITE_JOURNAL_MODE = "WAL";
@ -111,7 +111,7 @@ in {
};
# packages.ENABLED = true;
repository = {
DEFAULT_PRIVATE = false;
DEFAULT_PRIVATE = "private";
ENABLE_PUSH_CREATE_USER = true;
ENABLE_PUSH_CREATE_ORG = true;
};

View file

@ -18,9 +18,8 @@ in {
persist = true;
type = "memfile";
};
valid-lifetime = 4000;
renew-timer = 1000;
rebind-timer = 2000;
valid-lifetime = 86400;
renew-timer = 3600;
interfaces-config = {
# XXX: BUG: why does this bind other macvtaps?
interfaces = ["lan-self"];