61 current 2025-03-21 10:21:38 25.05.20250315.c80f6a7 6.12.19 *
This commit is contained in:
parent
a5a8562571
commit
e4862ea358
@ -21,21 +21,6 @@
|
|||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# Tell NetworkManager to ignore the Ethernet interface
|
|
||||||
networking.networkmanager.unmanaged = ["enp195s0f3u1u1"];
|
|
||||||
|
|
||||||
# Use systemd-networkd for the Ethernet interface
|
|
||||||
networking.useNetworkd = true;
|
|
||||||
networking.interfaces.enp195s0f3u1u1 = {
|
|
||||||
useDHCP = false;
|
|
||||||
ipv4.addresses = [
|
|
||||||
{
|
|
||||||
address = "192.168.1.100"; # Choose an IP in the same subnet as the Raspberry Pi
|
|
||||||
prefixLength = 24;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Stockholm";
|
time.timeZone = "Europe/Stockholm";
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user