{ ... }: { hardware.opengl.enable = true; services.xserver.enable = true; services.xserver.displayManager.gdm = { enable = true; }; programs.sway.enable = true; services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia.modesetting.enable = true; }