Trying out nvk.

This commit is contained in:
CronyAkatsuki 2024-03-01 14:15:21 +01:00
parent 39ee17fb84
commit 8bf5603afc

View File

@ -7,13 +7,21 @@
./modules/wifi-dongle.nix ./modules/wifi-dongle.nix
./modules/disable-hibernation.nix ./modules/disable-hibernation.nix
./modules/dns-over-https.nix ./modules/dns-over-https.nix
./modules/nvidia.nix # ./modules/nvidia.nix
]; ];
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = 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 # Set the hostname
networking.hostName = "nixos"; networking.hostName = "nixos";
@ -115,11 +123,11 @@
# Open Tablet Driver setup # Open Tablet Driver setup
hardware.opentabletdriver.enable = true; hardware.opentabletdriver.enable = true;
# load amdgpu at boot # load amdgpu and nouveau at boot
boot.initrd.kernelModules = [ "amdgpu" ]; boot.initrd.kernelModules = [ "amdgpu" ];
# Load nvidia driver for Xorg and Wayland # Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = [ "amdgpu" "nvidia" ]; services.xserver.videoDrivers = [ "amdgpu" ];
# Steam settings # Steam settings
programs.steam = { programs.steam = {