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/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 = {