Files
dotfiles/marisa/networking.nix
2021-05-22 11:35:23 +05:30

20 lines
390 B
Nix
Executable File

{config, ...}:
{
networking = {
hostName = "Marisa";
wireless.enable = false;
wireless.iwd.enable = true;
interfaces = {
wlan0 = {
useDHCP = false;
ipv4.addresses = [ {
prefixLength = 24;
address = "192.168.0.159";
} ];
};
};
defaultGateway = "192.168.0.1";
nameservers = [ "1.1.1.1" "8.8.8.8" ];
};
}