added host Marisa (haven't tested config yet)

This commit is contained in:
2021-05-19 06:28:14 +05:30
parent a3033000a9
commit 63262b85ff
28 changed files with 1465 additions and 133 deletions

18
marisa/networking.nix Normal file
View 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" ];
};
}