move the initrd option to options/

man I should really go to sleep
This commit is contained in:
jacekpoz 2024-02-29 01:41:59 +01:00
parent 52a896d4f0
commit d26908ac82
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C
2 changed files with 2 additions and 1 deletions

View file

@ -16,7 +16,6 @@
kernelPackages = pkgs.linuxPackages_xanmod_latest;
extraModulePackages = with config.boot.kernelPackages; [ ddcci-driver ];
kernelModules = [ "ddcci" ];
initrd.kernelModules = [ "amdgpu" ];
kernelParams = [
"video=eDP-1:2560x1440@165"
"video=HDMI-A-1:2560x1440@144"

View file

@ -24,6 +24,8 @@
};
};
boot.initrd.kernelModules = [ "amdgpu" ];
environment.sessionVariables = {
AMD_VULKAN_ICD = "RADV";
};