Fix hardware.nix
This commit is contained in:
parent
4084b5fd3c
commit
04d9dec03b
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user