mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 17:49:07 +01:00
77 lines
1.6 KiB
Nix
77 lines
1.6 KiB
Nix
{ self, ... }:
|
|
{
|
|
imports = [ self.nixosModules.server-profile ];
|
|
|
|
system.stateVersion = "25.11";
|
|
|
|
custom =
|
|
let
|
|
sproutedDomain = "sprouted.cloud";
|
|
in
|
|
{
|
|
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";
|
|
};
|
|
};
|
|
|
|
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}";
|
|
};
|
|
};
|
|
};
|
|
}
|