mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
refactor: move nvidia settings to hardware/nvidia
This commit is contained in:
parent
ae62336669
commit
0eb6ac95e4
5 changed files with 13 additions and 18 deletions
|
@ -3,4 +3,9 @@
|
|||
./fonts.nix
|
||||
./wayland.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
];
|
||||
}
|
||||
|
|
|
@ -5,12 +5,14 @@
|
|||
nvidia = {
|
||||
modesetting.enable = true;
|
||||
nvidiaPersistenced = true;
|
||||
nvidiaSettings = true;
|
||||
open = false;
|
||||
powerManagement.enable = true;
|
||||
};
|
||||
opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue