mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 23:29:08 +01:00
vps-www: Rename from vps-public
This commit is contained in:
parent
f49b1ee81d
commit
0a6ad857e0
8 changed files with 6 additions and 6 deletions
76
hosts/vps-www/default.nix
Normal file
76
hosts/vps-www/default.nix
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
{ 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;
|
||||
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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue