40 lines
775 B
Nix
40 lines
775 B
Nix
{ lib
|
|
, pkgs
|
|
, config
|
|
, ...
|
|
}: {
|
|
imports = [ ./disk.nix ./kernel.nix ];
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
hardware.opengl = {
|
|
enable = true;
|
|
extraPackages = [ pkgs.intel-media-driver ];
|
|
driSupport = true;
|
|
};
|
|
|
|
hardware = {
|
|
cpu.intel.updateMicrocode = lib.mkDefault true;
|
|
enableRedistributableFirmware = true;
|
|
};
|
|
|
|
hardware.bluetooth = {
|
|
settings = {
|
|
General = {
|
|
Experimental = true;
|
|
KernelExperimental = true;
|
|
};
|
|
};
|
|
package = (pkgs.bluez.override { withExperimental = true; });
|
|
enable = true;
|
|
};
|
|
|
|
hardware.sensor.hddtemp = {
|
|
enable = true;
|
|
drives = [ "/dev/disk/by-path/pci-0000:01:00.0-nvme-1" ];
|
|
};
|
|
|
|
boot.loader = {
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
}
|