disable dhcp

This commit is contained in:
goeranh 2026-03-20 17:17:21 +01:00
parent e6442b2442
commit 43cfebcec6
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -14,6 +14,7 @@
networking = { networking = {
hostName = "auth"; hostName = "auth";
domain = lib.mkForce "test.htw.stura-dresden.de"; domain = lib.mkForce "test.htw.stura-dresden.de";
useDHCP = false;
interfaces.eth0.ipv4.addresses = [ interfaces.eth0.ipv4.addresses = [
{ {
address = "141.56.51.96"; address = "141.56.51.96";
@ -35,4 +36,3 @@
system.stateVersion = "25.05"; system.stateVersion = "25.05";
} }

View file

@ -41,6 +41,7 @@ in
networking = { networking = {
hostName = "mail"; hostName = "mail";
domain = lib.mkForce "test.htw.stura-dresden.de"; domain = lib.mkForce "test.htw.stura-dresden.de";
useDHCP = false;
interfaces.ens18.ipv4.addresses = [ interfaces.ens18.ipv4.addresses = [
{ {
address = "141.56.51.95"; address = "141.56.51.95";