chungus: moved high IO to /srv2 (which is on the nvme)
This commit is contained in:
parent
9c47261653
commit
e47040cace
4 changed files with 15 additions and 6 deletions
|
@ -97,6 +97,15 @@ in
|
||||||
compression = "lz4";
|
compression = "lz4";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"services2" = {
|
||||||
|
type = "zfs_fs";
|
||||||
|
mountpoint = "/srv2";
|
||||||
|
options = {
|
||||||
|
mountpoint = "legacy";
|
||||||
|
compression = "lz4";
|
||||||
|
"com.sun:auto-snapshot:daily" = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
services.zigbee2mqtt = {
|
services.zigbee2mqtt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dataDir = "/srv/zigbee2mqtt";
|
dataDir = "/srv2/zigbee2mqtt";
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
# Home Assistant integration (MQTT discovery)
|
# Home Assistant integration (MQTT discovery)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
virtualisation.oci-containers = {
|
virtualisation.oci-containers = {
|
||||||
containers.homeassistant = {
|
containers.homeassistant = {
|
||||||
volumes = [ "/srv/home-assistant:/config" ];
|
volumes = [ "/srv2/home-assistant:/config" ];
|
||||||
environment.TZ = "Europe/Berlin";
|
environment.TZ = "Europe/Berlin";
|
||||||
image = "ghcr.io/home-assistant/home-assistant:stable"; # Warning: if the tag does not change, the image will not be updated
|
image = "ghcr.io/home-assistant/home-assistant:stable"; # Warning: if the tag does not change, the image will not be updated
|
||||||
extraOptions = [ "--network=host" ];
|
extraOptions = [ "--network=host" ];
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
virtualisation.oci-containers = {
|
virtualisation.oci-containers = {
|
||||||
containers.tdarr = {
|
containers.tdarr = {
|
||||||
volumes = [
|
volumes = [
|
||||||
"/srv/tdarr/server:/app/server"
|
"/srv2/tdarr/server:/app/server"
|
||||||
"/srv/tdarr/configs:/app/configs"
|
"/srv2/tdarr/configs:/app/configs"
|
||||||
"/srv/tdarr/logs:/app/logs"
|
"/srv2/tdarr/logs:/app/logs"
|
||||||
"/srv/tdarr/transcode_cache:/temp"
|
"/srv2/tdarr/transcode_cache:/temp"
|
||||||
"/media:/media"
|
"/media:/media"
|
||||||
];
|
];
|
||||||
environment = {
|
environment = {
|
||||||
|
|
Loading…
Reference in a new issue