1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

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" "pre-commit-hooks": "pre-commit-hooks_3"
}, },
"locked": { "locked": {
"lastModified": 1704938286, "lastModified": 1704999567,
"narHash": "sha256-/uv+N2v5ixqYz7SG8R5GWOTdrNKboHEp85BR5Jdz6qE=", "narHash": "sha256-Whj1PFPomS/f97OD30CRrETTH/dmnUJdjEevDLJG4MM=",
"owner": "oddlama", "owner": "oddlama",
"repo": "nixos-extra-modules", "repo": "nixos-extra-modules",
"rev": "c55f465ba1f369852ab4122a9fa42c85b4a571de", "rev": "4744a2844cd74ca9b122fbaaae5ae97159c0d30e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

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

View file

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

View file

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