Added Machine Specific configuration.

This commit is contained in:
James Patrick 2021-11-15 20:38:58 -05:00
parent d0c6753a19
commit aa89524865
2 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,7 @@
{
imports =
[ # Include the results of the hardware scan.
"${builtins.fetchGit { url = "https://github.com/NixOS/nixos-hardware.git"; }}/lenovo/thinkpad/t14/amd/"
./hardware-configuration.nix
./zfs.nix
];

View File

@ -19,6 +19,13 @@
"cryptd"
];
# Wifi support
boot.extraModulePackages = [ config.boot.kernelPackages.rtw89 ];
hardware.firmware = [ pkgs.rtw89-firmware ];
# For support of newer AMD GPUs, backlight and internal microphone
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.13") pkgs.linuxPackages_latest;
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];