This commit is contained in:
iFargle 2023-08-23 17:31:41 +09:00
parent 8e526a75e6
commit 6dc73e9916

View file

@ -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;