mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 21:19:07 +01:00
39 lines
751 B
Nix
39 lines
751 B
Nix
{ self, ... }:
|
|
{
|
|
imports = [ self.nixosModules.server-profile ];
|
|
|
|
system.stateVersion = "25.11";
|
|
|
|
custom = {
|
|
boot.loader.grub.enable = true;
|
|
|
|
networking = {
|
|
overlay = {
|
|
address = "10.254.250.5";
|
|
isLighthouse = true;
|
|
};
|
|
underlay = {
|
|
interface = "enp1s0";
|
|
cidr = "188.245.223.145/32";
|
|
isPublic = true;
|
|
gateway = "172.31.1.1";
|
|
};
|
|
};
|
|
|
|
services = {
|
|
recursive-nameserver = {
|
|
enable = true;
|
|
blockAds = true;
|
|
};
|
|
private-nameserver.enable = true;
|
|
public-nameserver = {
|
|
enable = true;
|
|
publicHostName = "ns1";
|
|
zones = [
|
|
"sprouted.cloud"
|
|
"sstork.dev"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|