srv-core, vps-www: Remove domain variables

This commit is contained in:
SebastianStork 2026-03-09 18:36:06 +01:00
parent 1ec782277a
commit ed5b3adf2d
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
2 changed files with 126 additions and 138 deletions

View file

@ -4,11 +4,7 @@
system.stateVersion = "25.11"; system.stateVersion = "25.11";
custom = custom = {
let
privateDomain = config.custom.networking.overlay.domain;
in
{
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
networking = { networking = {
@ -30,7 +26,7 @@
syncthing = { syncthing = {
enable = true; enable = true;
isServer = true; isServer = true;
gui.domain = "syncthing.${privateDomain}"; gui.domain = "syncthing.${config.custom.networking.overlay.domain}";
doBackups = true; doBackups = true;
}; };
@ -40,40 +36,40 @@
web-services = { web-services = {
atuin = { atuin = {
enable = true; enable = true;
domain = "atuin.${privateDomain}"; domain = "atuin.${config.custom.networking.overlay.domain}";
}; };
filebrowser = { filebrowser = {
enable = true; enable = true;
domain = "files.${privateDomain}"; domain = "files.${config.custom.networking.overlay.domain}";
doBackups = true; doBackups = true;
}; };
radicale = { radicale = {
enable = true; enable = true;
domain = "dav.${privateDomain}"; domain = "dav.${config.custom.networking.overlay.domain}";
doBackups = true; doBackups = true;
}; };
actualbudget = { actualbudget = {
enable = true; enable = true;
domain = "budget.${privateDomain}"; domain = "budget.${config.custom.networking.overlay.domain}";
doBackups = true; doBackups = true;
}; };
karakeep = { karakeep = {
enable = true; enable = true;
domain = "bookmarks.${privateDomain}"; domain = "bookmarks.${config.custom.networking.overlay.domain}";
}; };
grafana = { grafana = {
enable = true; enable = true;
domain = "grafana.${privateDomain}"; domain = "grafana.${config.custom.networking.overlay.domain}";
}; };
gatus = { gatus = {
enable = true; enable = true;
domain = "status.${privateDomain}"; domain = "status.${config.custom.networking.overlay.domain}";
generateDefaultEndpoints = true; generateDefaultEndpoints = true;
}; };
}; };

View file

@ -4,11 +4,7 @@
system.stateVersion = "25.11"; system.stateVersion = "25.11";
custom = custom = {
let
sproutedDomain = "sprouted.cloud";
in
{
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
networking = { networking = {
@ -30,47 +26,43 @@
]; ];
}; };
web-services = web-services = {
let
sstorkDomain = "sstork.dev";
in
{
personal-blog = { personal-blog = {
enable = true; enable = true;
domain = sstorkDomain; domain = "sstork.dev";
}; };
forgejo = { forgejo = {
enable = true; enable = true;
domain = "git.${sstorkDomain}"; domain = "git.sstork.dev";
doBackups = true; doBackups = true;
}; };
outline = { outline = {
enable = true; enable = true;
domain = "wiki.${sproutedDomain}"; domain = "wiki.sprouted.cloud";
doBackups = true; doBackups = true;
}; };
it-tools = { it-tools = {
enable = true; enable = true;
domain = "it-tools.${sproutedDomain}"; domain = "it-tools.sprouted.cloud";
}; };
networking-toolbox = { networking-toolbox = {
enable = true; enable = true;
domain = "net-tools.${sproutedDomain}"; domain = "net-tools.sprouted.cloud";
}; };
privatebin = { privatebin = {
enable = true; enable = true;
domain = "pastebin.${sproutedDomain}"; domain = "pastebin.sprouted.cloud";
branding.name = "SproutedBin"; branding.name = "SproutedBin";
}; };
screego = { screego = {
enable = true; enable = true;
domain = "mirror.${sproutedDomain}"; domain = "mirror.sprouted.cloud";
}; };
}; };
}; };