Fix nvidia-optimus.nix
This commit is contained in:
parent
973a31859d
commit
4ad235b98d
@ -1,11 +1,12 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.supergfxd.enable = true;
|
||||
|
||||
specialisation = {
|
||||
nvidia.configuration = {
|
||||
system.nixos.tags = [ "NVIDIA" ]
|
||||
system.nixos.tags = [ "NVIDIA" ];
|
||||
|
||||
services.supergfxd.enable = true;
|
||||
|
||||
# Load nvidia driver for Xorg and Wayland
|
||||
services.xserver.videoDrivers = ["amdgpu" "nvidia"];
|
||||
|
Loading…
x
Reference in New Issue
Block a user