added host Marisa (haven't tested config yet)
This commit is contained in:
18
marisa/networking.nix
Normal file
18
marisa/networking.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{config, ...}:
|
||||
{
|
||||
networking = {
|
||||
hostName = "Marisa";
|
||||
wireless.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" ];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user