Compare commits
2 commits
e3785a1e32
...
dda4d57199
Author | SHA1 | Date | |
---|---|---|---|
dda4d57199 | |||
b4c195fe55 |
2 changed files with 20 additions and 18 deletions
|
@ -4,7 +4,7 @@
|
||||||
podman.enable = true;
|
podman.enable = true;
|
||||||
oci-containers.containers = {
|
oci-containers.containers = {
|
||||||
qbittorrent = {
|
qbittorrent = {
|
||||||
image = "lscr.io/linuxserver/qbittorrent";
|
image = "lscr.io/linuxserver/qbittorrent:latest";
|
||||||
volumes = [
|
volumes = [
|
||||||
"qbittorrent-config:/config"
|
"qbittorrent-config:/config"
|
||||||
"/video-data/torrent:/data/torrent"
|
"/video-data/torrent:/data/torrent"
|
||||||
|
|
|
@ -5,23 +5,24 @@
|
||||||
podman.enable = true;
|
podman.enable = true;
|
||||||
oci-containers.containers = {
|
oci-containers.containers = {
|
||||||
zwave-js-ui = {
|
zwave-js-ui = {
|
||||||
image = "my-zwave-js-ui:latest";
|
image = "zwavejs/zwave-js-ui:latest";
|
||||||
imageFile = pkgs.dockerTools.buildLayeredImage {
|
# image = "my-zwave-js-ui:latest";
|
||||||
name = "my-zwave-js-ui";
|
# imageFile = pkgs.dockerTools.buildLayeredImage {
|
||||||
tag = "latest";
|
# name = "my-zwave-js-ui";
|
||||||
contents = [
|
# tag = "latest";
|
||||||
pkgs.cacert
|
# contents = [
|
||||||
pkgs.busybox
|
# pkgs.cacert
|
||||||
];
|
# pkgs.busybox
|
||||||
config = {
|
# ];
|
||||||
Cmd = [ "${inputs.self.packages.${pkgs.stdenv.system}.zwave-js-ui}/bin/zwave-js-ui" ];
|
# config = {
|
||||||
Env = [
|
# Cmd = [ "${inputs.self.packages.${pkgs.stdenv.system}.zwave-js-ui}/bin/zwave-js-ui" ];
|
||||||
"STORE_DIR=/usr/src/app/store"
|
# Env = [
|
||||||
"ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db"
|
# "STORE_DIR=/usr/src/app/store"
|
||||||
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
|
# "ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db"
|
||||||
];
|
# "SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||||
};
|
# ];
|
||||||
};
|
# };
|
||||||
|
# };
|
||||||
volumes = [ "zwave-config:/usr/src/app/store" ];
|
volumes = [ "zwave-config:/usr/src/app/store" ];
|
||||||
environment = {
|
environment = {
|
||||||
TZ = "America/New_York";
|
TZ = "America/New_York";
|
||||||
|
@ -33,6 +34,7 @@
|
||||||
};
|
};
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--network=www"
|
"--network=www"
|
||||||
|
"--pull=newer"
|
||||||
"--device=/dev/ttyACM0:/dev/zwave"
|
"--device=/dev/ttyACM0:/dev/zwave"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue