Added: Network Configuration; .gitignore
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user