Trying out nvk.
This commit is contained in:
parent
39ee17fb84
commit
8bf5603afc
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user