This commit is contained in:
m3tam3re 2024-11-19 18:59:45 +01:00
parent 936b6b5c9b
commit 0fde93d646
4 changed files with 24 additions and 1 deletions

View File

@ -85,7 +85,7 @@
inherit inputs outputs; inherit inputs outputs;
hostname = "m3-kratos"; hostname = "m3-kratos";
}; };
modules = [./home/m3tam3re/m3tam3re.nix]; modules = [./home/m3tam3re/m3tam3re-kratos.nix];
}; };
}; };
}; };

View File

@ -1,4 +1,5 @@
{ {
imports = [ imports = [
./homarr.nix
]; ];
} }

View File

@ -0,0 +1,11 @@
{
virtualisation.oci-containers.containers."homarr" = {
image = "ghcr.io/ajnart/homarr:latest";
ports = ["7575:7575"];
volumes = [
"homarr-configs:/app/public/config"
"homarr-icons:/app/public/icons"
"homarr-data:/data"
];
};
}

View File

@ -73,6 +73,9 @@
ag.loadBalancer.servers = [ ag.loadBalancer.servers = [
{url = "http://192.168.178.210:3000";} {url = "http://192.168.178.210:3000";}
]; ];
homarr.loadBalancer.servers = [
{url = "http://192.168.178.210:7575";}
];
}; };
# Skip verification for PVE servers # Skip verification for PVE servers
serversTransports = { serversTransports = {
@ -106,6 +109,14 @@
certResolver = "godaddy"; certResolver = "godaddy";
}; };
}; };
homarr = {
rule = "Host(`dash.l.m3tam3re.com`)";
service = "homarr";
entrypoints = ["websecure"];
tls = {
certResolver = "godaddy";
};
};
}; };
}; };
}; };