2019-12-20 05:54:26 +01:00
|
|
|
{ config, lib, pkgs, ... }: {
|
2019-10-24 02:20:38 +02:00
|
|
|
|
|
|
|
services.nginx.virtualHosts."${config.networking.hostName}.private" = {
|
|
|
|
default = true;
|
|
|
|
locations."/" = {
|
2019-12-20 05:54:26 +01:00
|
|
|
root = pkgs.landingpage.override {
|
2022-11-24 13:48:18 +01:00
|
|
|
jsonConfig = [
|
2022-11-27 23:43:07 +01:00
|
|
|
{ title = "System Links"; }
|
2022-11-24 13:48:18 +01:00
|
|
|
{
|
|
|
|
text = "Syncthings";
|
|
|
|
items = map
|
|
|
|
({ name, host ? "${name}.private", ... }: {
|
|
|
|
label = name;
|
|
|
|
href = "http://${host}:8384/";
|
|
|
|
image = "https://media.giphy.com/media/JoyU4vuzwj6ZA7Ging/giphy.gif";
|
|
|
|
})
|
2023-01-26 21:29:47 +01:00
|
|
|
(lib.flatten (lib.mapAttrsToList (name: { ... }: { inherit name; })
|
|
|
|
config.services.tinc.networks."private".hostSettings));
|
2022-11-24 13:48:18 +01:00
|
|
|
}
|
|
|
|
{
|
2023-02-08 13:08:33 +01:00
|
|
|
text = "robi";
|
|
|
|
items = [
|
|
|
|
{
|
|
|
|
label = "Jellyfin";
|
|
|
|
href = "http://flix.ingolf-wagner.de/";
|
|
|
|
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "netdata";
|
|
|
|
href = "http://robi.private:19999/";
|
2022-11-24 13:48:18 +01:00
|
|
|
image = "https://media.giphy.com/media/BkjdN6MQCDPaw/giphy.gif";
|
2023-02-08 13:08:33 +01:00
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "logs";
|
|
|
|
href = "http://grafana.robi.private/explore";
|
|
|
|
image = "https://raw.githubusercontent.com/cncf/landscape/master/hosted_logos/grafana-loki.svg";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "grafana";
|
|
|
|
href = "http://grafana.robi.private/";
|
|
|
|
image = "https://www.vectorlogo.zone/logos/grafana/grafana-icon.svg";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "prometheus";
|
|
|
|
href = "http://prometheus.robi.private/";
|
|
|
|
image = "https://www.vectorlogo.zone/logos/prometheusio/prometheusio-icon.svg";
|
|
|
|
}
|
|
|
|
|
|
|
|
];
|
2022-11-24 13:48:18 +01:00
|
|
|
}
|
2023-01-15 10:43:10 +01:00
|
|
|
{
|
2023-05-11 10:35:26 +02:00
|
|
|
text = "chungus";
|
2023-01-15 10:43:10 +01:00
|
|
|
items = [
|
|
|
|
{
|
|
|
|
label = "HomeAssistant";
|
2023-05-11 10:35:26 +02:00
|
|
|
href = "http://chungus.private:8123/";
|
2023-01-15 10:43:10 +01:00
|
|
|
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "Zigbee2Mqtt";
|
2023-05-11 10:35:26 +02:00
|
|
|
href = "http://chungus.private:9666/";
|
|
|
|
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "Tdarr";
|
|
|
|
href = "http://tdarr.chungus.private/";
|
2023-01-15 10:43:10 +01:00
|
|
|
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
|
|
|
|
}
|
2023-01-16 19:37:48 +01:00
|
|
|
{
|
2024-02-04 13:29:51 +01:00
|
|
|
label = "Flix";
|
2023-05-11 10:35:26 +02:00
|
|
|
href = "http://chungus:8096/";
|
2023-01-16 19:37:48 +01:00
|
|
|
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
|
|
|
|
}
|
2023-05-11 10:35:26 +02:00
|
|
|
{
|
|
|
|
label = "netdata";
|
|
|
|
href = "http://chungus.private:19999/";
|
|
|
|
image = "https://media.giphy.com/media/BkjdN6MQCDPaw/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "logs";
|
|
|
|
href = "http://grafana.chungus.private/explore";
|
|
|
|
image = "https://raw.githubusercontent.com/cncf/landscape/master/hosted_logos/grafana-loki.svg";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "grafana";
|
|
|
|
href = "http://grafana.chungus.private/";
|
|
|
|
image = "https://www.vectorlogo.zone/logos/grafana/grafana-icon.svg";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "prometheus";
|
|
|
|
href = "http://prometheus.chungus.private/";
|
|
|
|
image = "https://www.vectorlogo.zone/logos/prometheusio/prometheusio-icon.svg";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
{
|
2024-02-04 13:29:51 +01:00
|
|
|
title = "Various Links";
|
2023-05-11 10:35:26 +02:00
|
|
|
items = [
|
2023-02-08 00:19:09 +01:00
|
|
|
{
|
2024-02-04 13:29:51 +01:00
|
|
|
label = "Terrapen";
|
|
|
|
href = "http://192.168.178.31/";
|
|
|
|
image = "https://i.giphy.com/W08brEWFt7EpA5y2jI.webp";
|
2023-02-07 21:56:04 +01:00
|
|
|
}
|
2022-11-24 13:48:18 +01:00
|
|
|
{
|
|
|
|
label = "NeverSSL";
|
|
|
|
href = "https://oldslowfreshlight.neverssl.com/";
|
|
|
|
image = "https://media.giphy.com/media/fyLi0OuWysotq/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "Hetzner Cloud";
|
|
|
|
href = "https://console.hetzner.cloud/projects";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/NECZ8crkbXR0k/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "Pass the Popcorn";
|
|
|
|
href = "https://passthepopcorn.me/";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/NipFetnQOuKhW/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "redacted";
|
|
|
|
href = "https://redacted.ch/";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/ku5EcFe4PNGWA/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "Cups";
|
|
|
|
href = "http://localhost:631/";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/7hU7x4GPurk2c/giphy.gif";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
|
|
|
{
|
2022-11-27 23:43:07 +01:00
|
|
|
text = "NixOS Links";
|
2022-11-24 13:48:18 +01:00
|
|
|
items = [
|
|
|
|
{
|
|
|
|
label = "NixOS Manual";
|
|
|
|
href = "https://nixos.org/nixos/manual/";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/dsdVyKkSqccEzoPufX/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "Nixpkgs Manual";
|
|
|
|
href = "https://nixos.org/nixpkgs/manual/";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/dsdVyKkSqccEzoPufX/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "NixOS Reference";
|
|
|
|
href =
|
|
|
|
"https://storage.googleapis.com/files.tazj.in/nixdoc/manual.html#sec-functions-library";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/LkjlH3rVETgsg/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "Nix Packages";
|
|
|
|
href = "https://nixos.org/nixos/packages.html";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/l2YWlohvjPnsvkdEc/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "NixOS Language specific helpers";
|
|
|
|
href =
|
|
|
|
"https://nixos.wiki/wiki/Language-specific_package_helpers";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/LkjlH3rVETgsg/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "NixOS Weekly";
|
|
|
|
href = "https://weekly.nixos.org/";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/lXiRLb0xFzmreM8k8/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "NixOS Security";
|
|
|
|
href = "https://broken.sh/";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/BqILAHjH1Ttm0/giphy.gif";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
label = "NixOS RFCs";
|
|
|
|
href = "https://github.com/NixOS/rfcs/";
|
|
|
|
image =
|
|
|
|
"https://media.giphy.com/media/Uq9bGjGKg08M0/giphy.gif";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|
2022-11-27 23:43:07 +01:00
|
|
|
{ urlEncode = true; }
|
2022-11-24 13:48:18 +01:00
|
|
|
];
|
2019-12-20 05:54:26 +01:00
|
|
|
};
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|