update config, use NetworkManager

This commit is contained in:
Christoph Cullmann 2023-09-17 15:57:39 +02:00
parent b0c5f1e67e
commit 5515e4f5a5
5 changed files with 6 additions and 31 deletions

View file

@ -17,15 +17,6 @@
# host name
networking.hostName = "neko";
# main network interface via systemd-networkd
networking.useDHCP = false;
systemd.network.enable = true;
systemd.network.networks."10-lan" = {
matchConfig.Name = "enp10s0";
networkConfig.DHCP = "yes";
linkConfig.RequiredForOnline = "routable";
};
# intel graphics
hardware.opengl.extraPackages = with pkgs; [ intel-media-driver intel-compute-runtime ];
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ intel-media-driver ];