feat: add wg homepage
This commit is contained in:
parent
f974f2c13e
commit
87244037dd
2 changed files with 59 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
|||
./website/root
|
||||
./navidrome.nix
|
||||
./yottamaster.nix
|
||||
./homepage-dashboard.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
|
||||
|
|
|
|||
58
machines/moritz-server/homepage-dashboard.nix
Normal file
58
machines/moritz-server/homepage-dashboard.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
services.homepage-dashboard = {
|
||||
enable = true;
|
||||
allowedHosts = "wg.moritz.place";
|
||||
settings = {
|
||||
title = "Tolle WG";
|
||||
description = "Alles was eine WG braucht.";
|
||||
};
|
||||
services = [
|
||||
{
|
||||
Medien = [
|
||||
{
|
||||
Gucken = {
|
||||
description = "Jellyfin";
|
||||
href = "https://jellyfin.moritz.place";
|
||||
};
|
||||
}
|
||||
{
|
||||
Anfragen = {
|
||||
description = "jellyseerr";
|
||||
href = "https://jellyseerr.moritz.place";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
Sonstiges = [
|
||||
{
|
||||
Putzplan = {
|
||||
href = "https://putzplan.moritzboeh.me";
|
||||
};
|
||||
}
|
||||
{
|
||||
HomeAssistant = {
|
||||
href = "https://homeassistant.moritzboeh.me";
|
||||
};
|
||||
}
|
||||
{
|
||||
"Feed (RSS) Reader" = {
|
||||
description = "Miniflux";
|
||||
href = "https://miniflux.moritzboeh.me";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
services.nginx.virtualHosts."wg.moritz.place" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "any.moritz.place";
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${builtins.toString config.services.homepage-dashboard.listenPort}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue