From 01eb2ddccc35c9cb4c6936d612db299594dfdd37 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Fri, 1 Mar 2024 14:42:37 +0100 Subject: [PATCH] Move some things. --- nixos/configuration.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index e3bb30e..a1115c2 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -14,14 +14,18 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - # Latest kernel + # Current lts kernel boot.kernelPackages = pkgs.linuxPackages; + # Enable gsp boot.kernelParams = [ "nouveau.config=NvGspRM=1" "nouveau.debug=info,VBIOS=info,gsp=debug" ]; + # load amdgpu and nouveau at boot + boot.initrd.kernelModules = [ "nouveau" "amdgpu" ]; + # Set the hostname networking.hostName = "nixos"; @@ -123,9 +127,6 @@ # Open Tablet Driver setup hardware.opentabletdriver.enable = true; - # load amdgpu and nouveau at boot - boot.initrd.kernelModules = [ "nouveau" "amdgpu" ]; - # Load nvidia driver for Xorg and Wayland services.xserver.videoDrivers = [ "amdgpu" ];