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;