nixos-config/hosts/nas/default.nix

33 lines
604 B
Nix

{ 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;
syncthing = {
enable = true;
isServer = true;
gui.domain = "syncthing.nas.splitleaf.de";
};
};
};
}