From 34aac68b99b30e100ab6a95d9ffd7d79c887761b Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Wed, 13 Apr 2022 13:45:59 +0200 Subject: [PATCH] Fix legacy nvidia drivers --- nixos/loki.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/loki.nix b/nixos/loki.nix index 9fad612..d189fa8 100644 --- a/nixos/loki.nix +++ b/nixos/loki.nix @@ -27,7 +27,7 @@ services.xserver = { enable = true; - videoDrivers = [ "nvidiaLegacy390" ]; + videoDrivers = [ "nvidia" ]; layout = "it"; xkbOptions = "eurosign:e;"; libinput.enable = true; @@ -35,6 +35,7 @@ hardware = { + nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470; nvidia.prime = { offload.enable = false; sync.enable = true;