X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20.RelPermalink%20%7D%7D?a=blobdiff_plain;f=configuration.nix;h=b679930ecf5dbeb077b33ff1c221e0eb29edf2e1;hb=646e27dee1db43517aa92407fb8459f8e3437191;hp=76fb2d9f13c6a63073ed4ad9fdc4afc46e6c2f64;hpb=88699acd4eea8f4aaae2f0698d327e3db755a07d;p=nixos-configuration.git diff --git a/configuration.nix b/configuration.nix index 76fb2d9..b679930 100644 --- a/configuration.nix +++ b/configuration.nix @@ -21,13 +21,7 @@ enable = true; networks."10-lan" = { matchConfig.Name = "eno1"; - address = [ - "192.168.1.30/24" - ]; - routes = [ - { routeConfig.Gateway = "192.168.1.1"; } - ]; - dns = [ "192.168.1.1" ]; + DHCP = "yes"; linkConfig.RequiredForOnline = "routable"; }; };