This commit is contained in:
mjallen18
2026-03-30 19:34:40 -05:00
parent 9728f49e42
commit 0aa9a0f994
3 changed files with 476 additions and 205 deletions

View File

@@ -6,6 +6,7 @@
}:
let
inherit (lib.${namespace}) enabled disabled;
net = lib.${namespace}.network;
in
{
${namespace} = {
@@ -15,6 +16,10 @@ in
port = 3333;
createUser = true;
reverseProxy = enabled;
hostedService = {
group = "Finance";
icon = "si:actualbudget";
};
};
ai = {
enable = true;
@@ -29,6 +34,9 @@ in
enable = true;
subdomain = "cache";
};
hostedService = {
group = "Dev";
};
};
authentik = {
enable = true;
@@ -36,6 +44,9 @@ in
port = 9000;
reverseProxy = enabled;
environmentFile = "/run/secrets/jallen-nas/authentik-env";
hostedService = {
group = "Infrastructure";
};
redis = {
enable = true;
port = 6379;
@@ -104,6 +115,10 @@ in
enable = true;
port = 3000;
reverseProxy = enabled;
hostedService = {
group = "Dev";
icon = "si:gitea";
};
};
guacd = {
enable = true;
@@ -112,6 +127,165 @@ in
glance = {
enable = true;
port = 5555;
hostedServiceGroups = true;
weather = {
enable = true;
location = "Saint Paul, Minnesota, United States";
units = "imperial";
hour-format = "12h";
};
servers = [
{
name = "NAS";
mountpoints."/media/nas/main" = {
name = "Main Pool";
};
}
{
name = "Pi5";
mountpoints."/" = {
name = "Root";
};
}
];
bookmarks = [
{
title = "General";
links = [
{
title = "Gmail";
url = "https://mail.google.com/mail/u/0/";
}
{
title = "Proton Mail";
url = "https://mail.proton.me/u/0/inbox";
}
{
title = "MyNixOS";
url = "https://www.mynixos.com/";
}
{
title = "Github";
url = "https://github.com/";
}
];
}
{
title = "Entertainment";
links = [
{
title = "YouTube";
url = "https://www.youtube.com/";
}
{
title = "Prime Video";
url = "https://www.primevideo.com/";
}
{
title = "Disney+";
url = "https://www.disneyplus.com/";
}
];
}
{
title = "Social";
links = [
{
title = "Reddit";
url = "https://www.reddit.com/";
}
{
title = "Twitter";
url = "https://twitter.com/";
}
{
title = "Instagram";
url = "https://www.instagram.com/";
}
];
}
];
reddit = [
"hockey"
"formula1"
];
search = [
{
title = "YouTube";
shortcut = "!yt";
url = "https://www.youtube.com/results?search_query={QUERY}";
}
{
title = "Wikipedia";
shortcut = "!w";
url = "https://en.wikipedia.org/wiki/{QUERY}";
}
];
extraSites = [
{
title = "Home Assistant";
url = "http://${net.hosts.nuc.lan}:${toString net.ports.nuc.homeAssistant}/";
icon = "si:vscodium";
allow-insecure = true;
}
{
title = "ESPHome";
url = "http://${net.hosts.nuc.lan}:${toString net.ports.nuc.esphome}/";
icon = "si:vscodium";
allow-insecure = true;
}
{
title = "Sonarr";
url = "http://${net.hosts.nas.lan}:${toString net.ports.nas.sonarr}/";
icon = "si:sonarr";
allow-insecure = true;
basic-auth = true;
}
{
title = "Radarr";
url = "http://${net.hosts.nas.lan}:${toString net.ports.nas.radarr}/";
icon = "si:radarr";
allow-insecure = true;
basic-auth = true;
}
{
title = "Sabnzbd";
url = "http://${net.hosts.nas.lan}:${toString net.ports.nas.sabnzbd}/";
icon = "si:sabnzbd";
allow-insecure = true;
basic-auth = true;
}
{
title = "AdGuard";
url = "http://${net.hosts.pi5.lan}:${toString net.ports.pi5.adguard}/";
icon = "si:adguard";
allow-insecure = true;
}
{
title = "Manyfold";
url = "http://${net.hosts.nas.lan}:${toString net.ports.nas.manyfold}/collections";
icon = "sh:manyfold";
allow-insecure = true;
}
{
title = "Code Server";
url = "http://${net.hosts.nas.lan}:${toString net.ports.nas.codeServer}/";
icon = "si:vscodium";
allow-insecure = true;
}
{
title = "NAS KVM";
url = "http://nas-kvm.local/";
icon = "si:iterm2";
allow-insecure = true;
}
{
title = "NUC KVM";
url = "http://pikvm.local/";
icon = "si:raspberrypi";
allow-insecure = true;
}
];
};
glances = {
enable = true;
@@ -131,17 +305,28 @@ in
enable = true;
port = 2283;
reverseProxy = enabled;
hostedService = {
group = "Media";
icon = "si:immich";
};
};
jellyfin = {
enable = true;
port = 8096;
reverseProxy = enabled;
hostedService = {
group = "Media";
icon = "si:jellyfin";
};
};
jellyseerr = {
enable = true;
port = 5055;
createUser = true;
reverseProxy = enabled;
hostedService = {
group = "Media";
};
};
kavita = {
enable = true;
@@ -158,6 +343,9 @@ in
enable = true;
port = 6754;
reverseProxy = enabled;
hostedService = {
group = "Finance";
};
};
manyfold = {
enable = true;
@@ -167,6 +355,10 @@ in
enable = true;
port = 8448;
reverseProxy = enabled;
hostedService = {
group = "Infrastructure";
icon = "si:element";
};
};
minecraft = disabled;
mongodb = disabled;
@@ -192,12 +384,19 @@ in
enable = true;
subdomain = "cloud";
};
hostedService = {
group = "Infrastructure";
icon = "si:nextcloud";
};
};
ntfy = {
enable = true;
port = 2586;
createUser = true;
reverseProxy = enabled;
hostedService = {
group = "Infrastructure";
};
};
ocis = disabled;
onlyoffice = {