Rupert: Remove redundant network settings

This commit is contained in:
fruchti 2023-03-12 12:52:47 +01:00
parent 5f17decfe8
commit 9bb6296a5f

View file

@ -7,32 +7,20 @@ let
in in
{ {
networking.tempAddresses = "disabled"; networking.tempAddresses = "disabled";
# networking.interfaces.enp3s0 = {
# tempAddress = "disabled";
# ipv4.addresses = [{
# address = "192.168.178.43";
# prefixLength = 24;
# }];
# };
networking.defaultGateway = "192.168.178.1";
networking.nameservers = [ "9.9.9.9" "8.8.8.8" ];
networking.dhcpcd = { networking.dhcpcd = {
enable = true; enable = true;
persistent = true; persistent = true;
extraConfig = '' extraConfig = ''
duid
vendorclassid
slaac hwaddr slaac hwaddr
noipv4ll noipv4ll
#ia_pd 1 internal
interface enp3s0 interface enp3s0
static ip_address=192.168.178.43/24 static ip_address=192.168.178.43/24
static routers=192.168.178.1 static routers=192.168.178.1
static domain_name_servers=192.168.178.1 8.8.8.8 static domain_name_servers=192.168.178.1 8.8.8.8
ia_pd ia_na 1
''; '';
}; };