From ffb55c157b286b737464151053d4a028a53ae945 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 26 Sep 2024 15:43:37 -0600 Subject: [PATCH] [NixOS] Fix deprecations in nixquick.nix --- nixos/machines/nixquick.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nixos/machines/nixquick.nix b/nixos/machines/nixquick.nix index 8a712d79..3c9f6b83 100644 --- a/nixos/machines/nixquick.nix +++ b/nixos/machines/nixquick.nix @@ -23,14 +23,13 @@ boot.loader.systemd-boot.enable = true; # install nvidia drivers in addition to intel one - hardware.opengl.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ]; - hardware.opengl.extraPackages32 = [ pkgs.linuxPackages.nvidia_x11.lib32 ]; + hardware.graphics.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ]; + hardware.graphics.extraPackages32 = [ pkgs.linuxPackages.nvidia_x11.lib32 ]; + hardware.graphics.enable32Bit = true; services.xserver = { videoDrivers = [ "nvidia" ]; }; - hardware.opengl.driSupport32Bit = true; - hardware.nvidia.modesetting.enable = true; # This also enables v4l2loopback