mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-06 21:09:22 +02:00
Hoping this fixes nvidia issues
This commit is contained in:
parent
f2bb64a089
commit
4016b181b0
7 changed files with 11 additions and 13 deletions
|
@ -27,7 +27,7 @@ with lib;
|
|||
|
||||
hardware.opengl.enable = true;
|
||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
#boot.kernelParams = [ "module_blacklist=i915" ];
|
||||
boot.kernelParams = [ "module_blacklist=i915" ];
|
||||
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
|
|
|
@ -7,14 +7,14 @@ in
|
|||
imports = with nixos-hardware.nixosModules; [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
common-cpu-intel
|
||||
common-gpu-nvidia
|
||||
#common-gpu-nvidia
|
||||
common-pc
|
||||
common-pc-ssd
|
||||
];
|
||||
|
||||
hardware.nvidia.prime = {
|
||||
offload.enable = false;
|
||||
sync.enable = true;
|
||||
sync.enable = false;
|
||||
|
||||
# Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA
|
||||
intelBusId = "PCI:0:2:0";
|
||||
|
@ -24,7 +24,7 @@ in
|
|||
};
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
initrd = {
|
||||
# kernelModules = [ "amdgpu" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue