diff --git a/nixos/configuration.nix b/nixos/configuration.nix index d801cb6..f6ea5ab 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -7,13 +7,21 @@ ./modules/wifi-dongle.nix ./modules/disable-hibernation.nix ./modules/dns-over-https.nix - ./modules/nvidia.nix +# ./modules/nvidia.nix ]; # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # Latest kernel + boot.kernelPackages = pkgs.linuxPackages; + + boot.kernelParams = [ + "nouveau.config=NvGspRM=1" + "nouveau.debug=info,VBIOS=info,gsp=debug" + ]; + # Set the hostname networking.hostName = "nixos"; @@ -115,11 +123,11 @@ # Open Tablet Driver setup hardware.opentabletdriver.enable = true; - # load amdgpu at boot + # load amdgpu and nouveau at boot boot.initrd.kernelModules = [ "amdgpu" ]; # Load nvidia driver for Xorg and Wayland - services.xserver.videoDrivers = [ "amdgpu" "nvidia" ]; + services.xserver.videoDrivers = [ "amdgpu" ]; # Steam settings programs.steam = {