27 lines
701 B
Nix
27 lines
701 B
Nix
|
{ 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;
|
||
|
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
|
||
|
'';
|
||
|
};
|
||
|
powerManagement.cpuFreqGovernor = (lib.mkForce null);
|
||
|
|
||
|
hardware.nvidiaOptimus.disable = true;
|
||
|
}
|