Move some things.

This commit is contained in:
CronyAkatsuki 2024-03-01 14:42:37 +01:00
parent 5fc2467b25
commit 01eb2ddccc

View File

@ -14,14 +14,18 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
# Latest kernel # Current lts kernel
boot.kernelPackages = pkgs.linuxPackages; boot.kernelPackages = pkgs.linuxPackages;
# Enable gsp
boot.kernelParams = [ boot.kernelParams = [
"nouveau.config=NvGspRM=1" "nouveau.config=NvGspRM=1"
"nouveau.debug=info,VBIOS=info,gsp=debug" "nouveau.debug=info,VBIOS=info,gsp=debug"
]; ];
# load amdgpu and nouveau at boot
boot.initrd.kernelModules = [ "nouveau" "amdgpu" ];
# Set the hostname # Set the hostname
networking.hostName = "nixos"; networking.hostName = "nixos";
@ -123,9 +127,6 @@
# Open Tablet Driver setup # Open Tablet Driver setup
hardware.opentabletdriver.enable = true; hardware.opentabletdriver.enable = true;
# load amdgpu and nouveau at boot
boot.initrd.kernelModules = [ "nouveau" "amdgpu" ];
# Load nvidia driver for Xorg and Wayland # Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = [ "amdgpu" ]; services.xserver.videoDrivers = [ "amdgpu" ];