From c5013aa7ce2c7ec90acee5d965d950c8348db751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 12 Jul 2024 00:32:24 +0200 Subject: [PATCH] common/gpu/nvidia: use lib.mkDefault for hardware.nvidia.modesetting --- common/gpu/nvidia/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/gpu/nvidia/default.nix b/common/gpu/nvidia/default.nix index de1494e..df28c06 100644 --- a/common/gpu/nvidia/default.nix +++ b/common/gpu/nvidia/default.nix @@ -4,5 +4,5 @@ imports = [ ../24.05-compat.nix ]; services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ]; # TODO: this will be a default after https://github.com/NixOS/nixpkgs/pull/326369 - hardware.nvidia.modesetting.enable = true; + hardware.nvidia.modesetting.enable = lib.mkDefault true; }