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,74 +4,66 @@
system.stateVersion = "25.11";
custom =
let
sproutedDomain = "sprouted.cloud";
in
{
boot.loader.systemd-boot.enable = true;
custom = {
boot.loader.systemd-boot.enable = true;
networking = {
overlay.address = "10.254.250.4";
underlay = {
interface = "enp1s0";
cidr = "167.235.73.246/32";
isPublic = true;
gateway = "172.31.1.1";
};
networking = {
overlay.address = "10.254.250.4";
underlay = {
interface = "enp1s0";
cidr = "167.235.73.246/32";
isPublic = true;
gateway = "172.31.1.1";
};
services.public-nameserver = {
enable = true;
publicHostName = "ns2";
zones = [
"sprouted.cloud"
"sstork.dev"
];
};
web-services =
let
sstorkDomain = "sstork.dev";
in
{
personal-blog = {
enable = true;
domain = sstorkDomain;
};
forgejo = {
enable = true;
domain = "git.${sstorkDomain}";
doBackups = true;
};
outline = {
enable = true;
domain = "wiki.${sproutedDomain}";
doBackups = true;
};
it-tools = {
enable = true;
domain = "it-tools.${sproutedDomain}";
};
networking-toolbox = {
enable = true;
domain = "net-tools.${sproutedDomain}";
};
privatebin = {
enable = true;
domain = "pastebin.${sproutedDomain}";
branding.name = "SproutedBin";
};
screego = {
enable = true;
domain = "mirror.${sproutedDomain}";
};
};
};
services.public-nameserver = {
enable = true;
publicHostName = "ns2";
zones = [
"sprouted.cloud"
"sstork.dev"
];
};
web-services = {
personal-blog = {
enable = true;
domain = "sstork.dev";
};
forgejo = {
enable = true;
domain = "git.sstork.dev";
doBackups = true;
};
outline = {
enable = true;
domain = "wiki.sprouted.cloud";
doBackups = true;
};
it-tools = {
enable = true;
domain = "it-tools.sprouted.cloud";
};
networking-toolbox = {
enable = true;
domain = "net-tools.sprouted.cloud";
};
privatebin = {
enable = true;
domain = "pastebin.sprouted.cloud";
branding.name = "SproutedBin";
};
screego = {
enable = true;
domain = "mirror.sprouted.cloud";
};
};
};
}