meow
This commit is contained in:
parent
d6e453664d
commit
151180b02f
7 changed files with 515 additions and 19 deletions
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue