sombrero: Add network module

This commit is contained in:
Alexander Heldt
2023-10-24 21:07:12 +02:00
parent 83163e6f34
commit 04ef7e498a
2 changed files with 18 additions and 17 deletions

View File

@@ -55,23 +55,6 @@
# useXkbConfig = true; # use xkbOptions in tty. # useXkbConfig = true; # use xkbOptions in tty.
# }; # };
networking = {
hostName = "sombrero";
defaultGateway = "192.168.50.1";
nameservers = [ "8.8.8.8" ];
interfaces = {
eth0 = {
ipv4 = {
addresses = [{
address = "192.168.50.200";
prefixLength = 24;
}];
};
};
};
};
users = { users = {
mutableUsers = false; mutableUsers = false;

View File

@@ -0,0 +1,18 @@
{
networking = {
hostName = "sombrero";
defaultGateway = "192.168.50.1";
nameservers = [ "8.8.8.8" ];
interfaces = {
eth0 = {
ipv4 = {
addresses = [{
address = "192.168.50.200";
prefixLength = 24;
}];
};
};
};
};
}