From ba1cc06f3485aeff6555f649a2f094c6f46d16a5 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 23 Aug 2023 17:22:49 +0900 Subject: [PATCH] test --- nixos/hosts/nixos-laptop/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/hosts/nixos-laptop/default.nix b/nixos/hosts/nixos-laptop/default.nix index c5962289..dc968e08 100644 --- a/nixos/hosts/nixos-laptop/default.nix +++ b/nixos/hosts/nixos-laptop/default.nix @@ -63,6 +63,9 @@ # https://github.com/NixOS/nixpkgs/pull/211300 # https://github.com/NixOS/nixpkgs/pull/244060 + # Allow unfree for nvidia-x11 + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "nvidia-x11" ]; + hardware = { opengl.enable = true; opengl.driSupport32Bit = true;