Compare commits

..

No commits in common. "a2bcdcde3232611f4abf494529929120ef1c8de0" and "11fd6aab07f93e136162b294729aa8a5cb67a326" have entirely different histories.

8 changed files with 39 additions and 50 deletions

View file

@ -209,7 +209,7 @@
staticConfigOptions = {
log.level = "DEBUG";
api.dashboard = true;
api.insecure = true;
api.insecure = false;
global = {
checkNewVersion = false;
sendAnonymousUsage = false;

View file

@ -0,0 +1,14 @@
_: {
virtualisation.oci-containers.containers.dashdot = {
image = "mauricenino/dashdot:sha-4bef01c";
ports = [
"4000:3001"
];
volumes = [
"/home/notoh/docker/dashdot:/mnt/host:ro"
];
environment = {
DASHDOT_ENABLE_CPU_TEMPS = "true";
};
};
}

View file

@ -3,10 +3,9 @@
./restic.nix
./traefik.nix
./stash.nix
./homarr.nix
./dashdot.nix
./jellyfin.nix
./minecraft.nix
./wallos.nix
./homepage.nix
./glances.nix
];
}

View file

@ -1,15 +0,0 @@
_: {
networking.firewall.allowedTCPPorts = [61208 61209];
virtualisation.oci-containers.containers.glances = {
image = "nicolargo/glances";
ports = [
"61208-61209:61208-61209"
];
volumes = [
"/var/run/docker.sock:/var/run/docker.sock"
];
environment = {
GLANCES_OPT = "-w";
};
};
}

View file

@ -0,0 +1,13 @@
_: {
virtualisation.oci-containers.containers.homarr = {
image = "ghcr.io/ajnart/homarr:0.14.0";
ports = [
"7575:7575"
];
volumes = [
"/home/notohh/docker/homarr/configs:/app/data/configs"
"/home/notohh/docker/homarr/icons:/app/public/icons"
"/home/notohh/docker/homarr/data:/data"
];
};
}

View file

@ -1,7 +0,0 @@
_: {
services.homepage-dashboard = {
enable = true;
listenPort = 7676;
openFirewall = true;
};
}

View file

@ -10,16 +10,21 @@ _: {
entryPoints = ["websecure"];
service = "api@internal";
};
homepage = {
homarr = {
rule = "Host(`dashboard.internal.flake.sh`)";
entrypoints = ["web"];
service = "homepage";
service = "homarr";
};
stash = {
rule = "Host(`stash.internal.flake.sh`)";
entrypoints = ["web"];
service = "stash";
};
dashdot = {
rule = "Host(`dashdot.yuki.internal.flake.sh`)";
entrypoints = ["web"];
service = "dashdot";
};
jellyfin = {
rule = "Host(`jellyfin.internal.flake.sh`)";
entrypoints = ["web"];
@ -30,18 +35,13 @@ _: {
entrypoints = ["web"];
service = "jellyseerr";
};
wallos = {
rule = "Host(`wallos.internal.flake.sh`)";
entrypoints = ["web"];
service = "wallos";
};
};
services = {
stash.loadBalancer.servers = [{url = "http://localhost:9999";}];
homepage.loadBalancer.servers = [{url = "http://localhost:7676";}];
homarr.loadBalancer.servers = [{url = "http://localhost:7575";}];
dashdot.loadBalancer.servers = [{url = "http://localhost:4000";}];
jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}];
jellyseerr.loadBalancer.servers = [{url = "http://localhost:5055";}];
wallos.loadBalancer.servers = [{url = "http://localhost:8282";}];
};
};
};

View file

@ -1,15 +0,0 @@
_: {
virtualisation.oci-containers.containers.wallos = {
image = "bellamy/wallos";
ports = [
"8282:80"
];
volumes = [
"/home/notohh/docker/wallos/db:/var/www/html/db"
"/home/notohh/docker/wallos/logos:/var/www/html/images/uploads/logos"
];
environment = {
TZ = "America/New_York";
};
};
}