Make NVIDIA driver bullshit only apply to strawberry
This commit is contained in:
parent
84fdac4865
commit
54f72cbcc0
2 changed files with 4 additions and 2 deletions
|
@ -12,7 +12,6 @@ in {
|
|||
|
||||
config = lib.mkIf (cfg.enable) {
|
||||
hardware.opengl.enable = true;
|
||||
hardware.nvidia.modesetting.enable = true;
|
||||
|
||||
security.rtkit.enable = true;
|
||||
|
||||
|
@ -21,7 +20,6 @@ in {
|
|||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
|
||||
services.pipewire = {
|
||||
|
|
|
@ -47,4 +47,8 @@
|
|||
swapDevices = [
|
||||
{ device = "/dev/nixos/swap"; }
|
||||
];
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia.modesetting.enable = true;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue