hosts: Rename default.nix to configuration.nix

This commit is contained in:
SebastianStork 2026-03-09 13:49:51 +01:00
parent 631dd7e4be
commit 4505d4c3ec
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
5 changed files with 0 additions and 0 deletions

View file

@ -1,77 +0,0 @@
{ 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}";
};
};
};
}