feat: dashboard with homarr and dashdot

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-04-28 20:43:05 -03:00
parent a08d632524
commit 498ae72272
2 changed files with 37 additions and 0 deletions

View File

@@ -99,5 +99,34 @@ in {
profiles.media-server.enable = true;
virtualisation = {
docker.enable = true;
oci-containers = {
backend = "docker";
containers.homarr = {
image = "ghcr.io/ajnart/homarr:latest";
autoStart = true;
ports = ["${toString secrets.services.homarr.port}:7575"];
volumes = [
"/var/run/docker.sock:/var/run/docker.sock"
"/var/lib/homarr/configs:/app/data/configs"
"/var/lib/homarr/data:/data"
"/var/lib/homarr/icons:/app/public/icons"
];
environment = {
NODE_TLS_REJECT_UNAUTHORIZED = "0";
};
};
containers.dashdot = {
image = "mauricenino/dashdot";
autoStart = true;
ports = ["${toString secrets.services.dashdot.port}:3001"];
extraOptions = ["--privileged"];
volumes = [
"/:/mnt/host:ro"
];
};
};
};
};
}