Added Machine Specific configuration.
This commit is contained in:
parent
d0c6753a19
commit
aa89524865
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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 = [ ];
|
||||
|
|
Reference in New Issue
Block a user