From 1958bb41d718ff1870923f0346f5985225b3ba2b Mon Sep 17 00:00:00 2001 From: albert Date: Sat, 27 Jul 2024 12:48:09 +0900 Subject: [PATCH] Update nVidia desktop --- nixos/hosts/nixos-desktop/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/nixos-desktop/default.nix b/nixos/hosts/nixos-desktop/default.nix index 7003d98b..20334c76 100644 --- a/nixos/hosts/nixos-desktop/default.nix +++ b/nixos/hosts/nixos-desktop/default.nix @@ -46,6 +46,8 @@ }; }; + services.xserver.videoDrivers = [ "nvidia" ]; + hardware = { opengl = { enable = true; @@ -54,7 +56,7 @@ }; nvidia = { - open = false; + open = true; nvidiaSettings = true; modesetting.enable = true; package = config.boot.kernelPackages.nvidiaPackages.production; # (installs 550)