Added: Network Configuration; .gitignore

This commit is contained in:
2026-02-14 18:46:39 +01:00
parent 89a06b2438
commit 3ebd34c830
3 changed files with 73 additions and 32 deletions

View File

@@ -1,23 +1,24 @@
{
#pkgs,
lib,
...
}:
{
# Host-specific packages
#environment.systemPackages = with pkgs; [
# python3
# nodejs
#];
# Any RPi 4 specific customizations go here
networking = {
hostName = "cyper-pi-1";
interfaces.end0.ipv4.addresses = [
{
address = "192.168.2.41";
prefixLength = 24;
}
];
hostName = lib.mkForce "cyper-pi-1";
interfaces.end0 = {
useDHCP = false;
ipv4.addresses = [
{
address = "192.168.2.41";
prefixLength = 24;
}
];
};
firewall = {
enable = false;
};
};
}