diff options
Diffstat (limited to 'mini')
-rw-r--r-- | mini/configuration.nix | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/mini/configuration.nix b/mini/configuration.nix index 5210fdd..44881cc 100644 --- a/mini/configuration.nix +++ b/mini/configuration.nix @@ -17,18 +17,10 @@ # amd graphics hardware.opengl.extraPackages = with pkgs; [ amdvlk rocm-opencl-icd rocm-opencl-runtime ]; - # use systemd-networkd, fixed IPv4, dynamic IPv6 + # our hostname networking.hostName = "mini"; + + # use NetworkManager networking.useDHCP = false; - networking.nameservers = [ "192.168.13.1" ]; - systemd.network = { - enable = true; - networks."10-wan" = { - matchConfig.Name = "eno1"; - address = [ "192.168.13.100/24" ]; - routes = [ { routeConfig.Gateway = "192.168.13.1"; } ]; - networkConfig.IPv6AcceptRA = true; - linkConfig.RequiredForOnline = "routable"; - }; - }; + networking.networkmanager.enable = true; } |