Added: Static IP Configuration

This commit is contained in:
2026-02-11 23:50:01 +01:00
parent 521610f044
commit 779fca1741
4 changed files with 69 additions and 22 deletions

View File

@@ -28,8 +28,37 @@
};
networking = {
hostName = "rpi-4";
networkmanager.enable = true;
hostName = "cyper-pi";
networkmanager = {
enable = true;
unmanaged = [
"*"
"except:type:wwan"
"except:type:gsm"
];
};
defaultGateway = "192.168.2.1";
nameservers = [
"192.168.2.2"
"8.8.8.8"
"1.1.1.1"
];
wireless = {
enable = true;
networks = {
LANFRED = {
pskRaw = "36e2b41b51328800a9582be1a05f13f796f943569610ccdb61304803b86ce3da";
};
};
};
enableIPv6 = false;
firewall = {
enable = false;
};
};
# SSH configuration