From 6dc73e9916f4ac66877694aa09e4f0fc4393167c Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 23 Aug 2023 17:31:41 +0900 Subject: [PATCH] test --- nixos/hosts/nixos-laptop/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/hosts/nixos-laptop/default.nix b/nixos/hosts/nixos-laptop/default.nix index b447e42b..275cfdac 100644 --- a/nixos/hosts/nixos-laptop/default.nix +++ b/nixos/hosts/nixos-laptop/default.nix @@ -4,6 +4,9 @@ ../../common/modules/secureboot.nix ]; + # steam, nvidia-x11, etc + nixpkgs.config.allowUnfree = true; + boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" "acpi_call" ]; @@ -63,9 +66,6 @@ # 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" "steam" ]; - hardware = { opengl.enable = true; opengl.driSupport32Bit = true;