This commit is contained in:
Lucy Hochkamp 2025-02-22 12:22:23 +01:00
parent d6e453664d
commit 151180b02f
No known key found for this signature in database
7 changed files with 515 additions and 19 deletions

View file

@ -214,14 +214,14 @@ in
SEARCH_BACKEND_HOST_NAME = "archivebox_sonic";
SEARCH_BACKEND_PASSWORD = "SomeSecretPassword";
};
extraOptions = [ "--network=archivebox-net" "--network=podman"];
extraOptions = [ "--network=archivebox-net" "--network=podman" ];
volumes = [
"/data/media/archivebox:/data"
];
};
virtualisation.oci-containers.containers.archivebox_scheduler = {
image = "archivebox/archivebox:latest";
cmd = ["schedule" "--foreground" "--update" "--every=day"];
cmd = [ "schedule" "--foreground" "--update" "--every=day" ];
environment = {
TIMEOUT = "120";
ALLOWED_HOSTS = "*"; # set this to the hostname(s) you're going to serve the site from!
@ -233,7 +233,7 @@ in
SEARCH_BACKEND_HOST_NAME = "archivebox_sonic";
SEARCH_BACKEND_PASSWORD = "SomeSecretPassword";
};
extraOptions = [ "--network=archivebox-net" "--network=podman"];
extraOptions = [ "--network=archivebox-net" "--network=podman" ];
volumes = [
"/data/media/archivebox:/data"
];
@ -243,11 +243,46 @@ in
environment = {
SEARCH_BACKEND_PASSWORD = "SomeSecretPassword";
};
extraOptions = [ "--network=archivebox-net"];
extraOptions = [ "--network=archivebox-net" ];
volumes = [
"archivebox-sonic:/data"
];
};
# printer
virtualisation.oci-containers.containers.labello = {
image = "telegnom/labello:latest";
environment = {
LAB_PRINTER_DEVICE = "tcp://10.0.10.240:9100";
LABELLO_DOWNLOAD_FONT = "yes";
};
extraOptions = [ "--network=podman" ];
volumes =
let
fonts = pkgs.symlinkJoin {
name = "labello-fonts";
paths = with pkgs; [
# nerdfonts.override { fonts = ["b612"]}
noto-fonts
# noto-fonts-cjk-sans
noto-fonts-emoji
liberation_ttf
fira-code
fira-code-symbols
# dina-font
# proggyfonts
b612
source-sans
source-serif
source-code-pro
corefonts
];
};
in
[
# "${fonts}:/opt/labelo/fonts"
# "/nix/store:/nix/store"
];
};

View file

@ -197,6 +197,10 @@ in
handle @node-red {
import podmanRedir http://node-red:1880
}
@labello host labello.hailsatan.eu
handle @labello {
import podmanRedir http://labello:4242
}
# @bzzt-api host bzzt-api.hailsatan.eu