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