test
This commit is contained in:
parent
8e526a75e6
commit
6dc73e9916
1 changed files with 3 additions and 3 deletions
|
@ -4,6 +4,9 @@
|
||||||
../../common/modules/secureboot.nix
|
../../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.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" "acpi_call" ];
|
boot.kernelModules = [ "kvm-intel" "acpi_call" ];
|
||||||
|
@ -63,9 +66,6 @@
|
||||||
# https://github.com/NixOS/nixpkgs/pull/211300
|
# https://github.com/NixOS/nixpkgs/pull/211300
|
||||||
# https://github.com/NixOS/nixpkgs/pull/244060
|
# 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 = {
|
hardware = {
|
||||||
opengl.enable = true;
|
opengl.enable = true;
|
||||||
opengl.driSupport32Bit = true;
|
opengl.driSupport32Bit = true;
|
||||||
|
|
Loading…
Reference in a new issue