Files
nixos-configs/hosts/sombrero/modules/network/default.nix
2023-10-26 22:08:20 +02:00

19 lines
312 B
Nix

{
networking = {
hostName = "sombrero";
defaultGateway = "192.168.50.1";
nameservers = [ "8.8.8.8" ];
interfaces = {
eth0 = {
ipv4 = {
addresses = [{
address = "192.168.50.200";
prefixLength = 24;
}];
};
};
};
};
}