2019-07-18 22:17:36 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
sound.enable = true;
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
|
|
hardware.pulseaudio = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.pulseaudioFull;
|
2019-08-08 21:23:29 +01:00
|
|
|
support32Bit = true;
|
2019-07-18 22:17:36 +01:00
|
|
|
extraModules = [ pkgs.pulseaudio-modules-bt ];
|
|
|
|
};
|
|
|
|
hardware.u2f.enable = true;
|
|
|
|
hardware.brightnessctl.enable = true;
|
|
|
|
hardware.sane.enable = true;
|
|
|
|
hardware.bluetooth = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.bluezFull;
|
|
|
|
extraConfig = ''
|
|
|
|
[General]
|
|
|
|
Enable=Source,Sink,Media,Socket
|
|
|
|
'';
|
|
|
|
};
|
2019-07-18 23:50:46 +01:00
|
|
|
|
2019-10-07 18:33:11 +01:00
|
|
|
powerManagement.enable = (lib.mkForce true);
|
2019-07-18 22:17:36 +01:00
|
|
|
powerManagement.cpuFreqGovernor = (lib.mkForce null);
|
2019-07-18 23:50:46 +01:00
|
|
|
powerManagement.powertop.enable = true;
|
2019-07-18 22:17:36 +01:00
|
|
|
}
|