Add WUD and Paperless, update UI and flake lock

Bump nixpkgs and rust-overlay in flake.lock. Add a wud container
(ghcr.io/getwud/wud) on port 8186 and enable paperless on port 8187
with OCR settings and public consumption. Switch homepage theme to
light and set a background image. Comment out onnxruntime CUDA overlay.
This commit is contained in:
Stefan Kempinger 2026-02-01 23:07:01 +01:00
parent 8fde10cc50
commit 3470f36920
2 changed files with 68 additions and 19 deletions

12
flake.lock generated
View file

@ -95,11 +95,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1769170682, "lastModified": 1769461804,
"narHash": "sha256-oMmN1lVQU0F0W2k6OI3bgdzp2YOHWYUAw79qzDSjenU=", "narHash": "sha256-msG8SU5WsBUfVVa/9RPLaymvi5bI8edTavbIq3vRlhI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c5296fdd05cfa2c187990dd909864da9658df755", "rev": "bfc1b8a4574108ceef22f02bafcf6611380c100d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -147,11 +147,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1769482338, "lastModified": 1769828398,
"narHash": "sha256-SVwjMqR981PEdEdRvYj5Mefnd61GLinWmIr7GMu7LW8=", "narHash": "sha256-zmnvRUm15QrlKH0V1BZoiT3U+Q+tr+P5Osi8qgtL9fY=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "dc9c76a75a6d382613cdcb1a3f95640e9cedcdea", "rev": "a1d32c90c8a4ea43e9586b7e5894c179d5747425",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -81,6 +81,8 @@
8182 # ntopng frontend 8182 # ntopng frontend
8183 # adguardhome frontend 8183 # adguardhome frontend
8185 # scrutiny frontend 8185 # scrutiny frontend
8186 # wud frontend
8187 # paperless frontend
8080 # homepage 8080 # homepage
]; ];
firewall.allowedUDPPorts = [ firewall.allowedUDPPorts = [
@ -431,6 +433,20 @@
"--network=host" "--network=host"
]; ];
}; };
containers.wud = {
# Note: The image will not be updated on rebuilds, unless the version label changes
image = "ghcr.io/getwud/wud";
volumes = [
"/var/run/podman/podman.sock:/var/run/docker.sock"
];
environment = {
WUD_SERVER_PORT = "8186";
WUD_TRIGGER_COMMAND_LOCAL_CMD="echo \${display_name} can be updated to \${update_kind_remote_value}";
};
extraOptions = [
"--network=host"
];
};
}; };
services.ntopng = { services.ntopng = {
@ -491,6 +507,25 @@
port = 8183; port = 8183;
}; };
services.paperless = {
enable = true;
consumptionDirIsPublic = true;
address = "0.0.0.0";
port = 8187;
settings = {
PAPERLESS_CONSUMER_IGNORE_PATTERN = [
".DS_STORE/*"
"desktop.ini"
];
PAPERLESS_OCR_LANGUAGE = "deu+eng";
PAPERLESS_OCR_USER_ARGS = {
optimize = 1;
pdfa_image_compression = "lossless";
};
};
};
services.homepage-dashboard = { services.homepage-dashboard = {
enable = true; enable = true;
listenPort = 8080; listenPort = 8080;
@ -498,8 +533,9 @@
settings = { settings = {
title = "Heimserver"; title = "Heimserver";
theme = "dark"; theme = "light";
color = "slate"; color = "slate";
background = "https://images.unsplash.com/photo-1768326943626-a80f242a7970";
layout = { layout = {
"Home Automation" = { "Home Automation" = {
style = "row"; style = "row";
@ -598,13 +634,6 @@
}; };
}; };
} }
{
"Github" = {
href = "https://github.com/CrazyChaoz";
description = "Github";
icon = "github.png";
};
}
]; ];
} }
{ {
@ -647,6 +676,17 @@
}; };
}; };
} }
{
"Whats Up Docker" = {
href = "http://192.168.69.69:8186";
description = "Docker Image Updates";
icon = "whats-up-docker.png";
widget = {
type = "whatsupdocker";
url = "http://192.168.69.69:8186";
};
};
}
{ {
"ntopng" = { "ntopng" = {
href = "http://192.168.69.69:8182"; href = "http://192.168.69.69:8182";
@ -702,6 +742,15 @@
} }
]; ];
} }
{
"Github" = [
{
abbr = "GH";
href = "https://github.com/CrazyChaoz";
icon = "github.png";
}
];
}
]; ];
} }
{ {
@ -740,11 +789,11 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [ # nixpkgs.overlays = [
(final: prev: { # (final: prev: {
onnxruntime = prev.onnxruntime.override { cudaSupport = true; }; # onnxruntime = prev.onnxruntime.override { cudaSupport = true; };
}) # })
]; # ];
# Nix settings # Nix settings
nix.settings.experimental-features = [ nix.settings.experimental-features = [