feat: rearrange nix modules
This commit is contained in:
parent
572d1d43c0
commit
89f6ab94b4
17 changed files with 28 additions and 28 deletions
17
hardware/gpu-nvidia.nix
Normal file
17
hardware/gpu-nvidia.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Graphics drivers
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
services.xserver.screenSection = ''
|
||||
Option "metamodes" "1920x1080_144 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
|
||||
'';
|
||||
|
||||
hardware.opengl = {
|
||||
driSupport32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
libvdpau-va-gl
|
||||
vaapiVdpau
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue