Fix hardware.nix

This commit is contained in:
Dmitriy 2019-09-17 16:48:43 +04:00
parent 4084b5fd3c
commit 04d9dec03b

View File

@ -31,21 +31,18 @@ with deviceSpecific; {
hardware.bluetooth.enable = isLaptop; hardware.bluetooth.enable = isLaptop;
boot = { boot.loader = {
loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
kernelPackages = if isVM then boot.kernelPackages = if isVM then
pkgs.linuxPackages pkgs.linuxPackages
else else
pkgs.linuxPackages_latest; pkgs.linuxPackages_latest;
supportedFilesystems = [ "ntfs" ]; boot.supportedFilesystems = [ "ntfs" ];
# extraModulePackages = [ config.boot.kernelPackages.exfat-nofuse ]; boot.blacklistedKernelModules = lib.mkIf (device == "Dell-Laptop") [
blacklistedKernelModules = lib.mkIf (device == "Dell-Laptop") [
"psmouse" "psmouse"
]; ];
};
sound.enable = true; sound.enable = true;
hardware.pulseaudio = { hardware.pulseaudio = {