chore: Update to 25.05
This commit is contained in:
parent
b7b0fa8ad3
commit
f35a2c5e85
4 changed files with 28 additions and 18 deletions
|
@ -25,21 +25,27 @@ in {
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# boot = {
|
||||
# extraModprobeConfig = "options nvidia-drm modeset=1";
|
||||
#
|
||||
# initrd.kernelModules = [
|
||||
# "nvidia"
|
||||
# "nvidia_modeset"
|
||||
# "nvidia_uvm"
|
||||
# "nvidia_drm"
|
||||
# ];
|
||||
# };
|
||||
boot = {
|
||||
extraModprobeConfig = ''
|
||||
options nvidia-drm modeset=1
|
||||
'';
|
||||
kernelParams = [
|
||||
"nvidia_drm.modeset=1"
|
||||
];
|
||||
};
|
||||
|
||||
hardware = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-ocl
|
||||
intel-compute-runtime
|
||||
opencl-clhpp
|
||||
opencl-clang
|
||||
opencl-headers
|
||||
ocl-icd
|
||||
];
|
||||
};
|
||||
|
||||
nvidia = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue