Add new host nas

This commit is contained in:
SebastianStork 2026-02-25 23:18:48 +01:00
parent d4e1577ee1
commit 30a2321805
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
7 changed files with 205 additions and 0 deletions

25
hosts/nas/default.nix Normal file
View file

@ -0,0 +1,25 @@
{ self, ... }:
{
imports = [ self.nixosModules.server-profile ];
system.stateVersion = "25.11";
custom = {
boot.loader.grub.enable = true;
networking = {
overlay = {
address = "10.254.250.6";
isLighthouse = true;
};
underlay = {
interface = "enp2s0";
cidr = "192.168.0.64/24";
isPublic = true;
gateway = "192.168.0.1";
};
};
services.dns.enable = true;
};
}