mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 11:45:06 +01:00
some nvidia changes
aggregated from the wiki and nixos-hardware
This commit is contained in:
parent
85ca679351
commit
26ea68e1a0
1 changed files with 11 additions and 3 deletions
|
|
@ -134,10 +134,18 @@ in
|
|||
# scrollButton = 2;
|
||||
#};
|
||||
};
|
||||
# https://github.com/NixOS/nixpkgs/issues/299944#issuecomment-2027246826
|
||||
hardware.nvidia.modesetting.enable = true;
|
||||
hardware.nvidia = {
|
||||
# https://github.com/NixOS/nixpkgs/issues/299944#issuecomment-2027246826
|
||||
modesetting.enable = true;
|
||||
};
|
||||
|
||||
hardware.opengl.enable = true;
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
extraPackages = with pkgs; [
|
||||
vaapiVdpau
|
||||
];
|
||||
};
|
||||
|
||||
# TODO: Create a fancontrol config
|
||||
hardware.fancontrol.enable = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue