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:
parent
8fde10cc50
commit
3470f36920
2 changed files with 68 additions and 19 deletions
|
|
@ -81,6 +81,8 @@
|
|||
8182 # ntopng frontend
|
||||
8183 # adguardhome frontend
|
||||
8185 # scrutiny frontend
|
||||
8186 # wud frontend
|
||||
8187 # paperless frontend
|
||||
8080 # homepage
|
||||
];
|
||||
firewall.allowedUDPPorts = [
|
||||
|
|
@ -431,6 +433,20 @@
|
|||
"--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 = {
|
||||
|
|
@ -490,6 +506,25 @@
|
|||
host = "0.0.0.0";
|
||||
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 = {
|
||||
enable = true;
|
||||
|
|
@ -498,8 +533,9 @@
|
|||
|
||||
settings = {
|
||||
title = "Heimserver";
|
||||
theme = "dark";
|
||||
theme = "light";
|
||||
color = "slate";
|
||||
background = "https://images.unsplash.com/photo-1768326943626-a80f242a7970";
|
||||
layout = {
|
||||
"Home Automation" = {
|
||||
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" = {
|
||||
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.overlays = [
|
||||
(final: prev: {
|
||||
onnxruntime = prev.onnxruntime.override { cudaSupport = true; };
|
||||
})
|
||||
];
|
||||
# nixpkgs.overlays = [
|
||||
# (final: prev: {
|
||||
# onnxruntime = prev.onnxruntime.override { cudaSupport = true; };
|
||||
# })
|
||||
# ];
|
||||
|
||||
# Nix settings
|
||||
nix.settings.experimental-features = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue