dotfiles/nixos/common-hardware.nix
Cyryl Płotnicki 5338a3965b add fuse
2020-03-20 13:09:39 +00:00

32 lines
805 B
Nix

{ config, pkgs, lib, ... }:
{
boot.kernelModules = [ "fuse" ];
services.smartd.enable = true;
sound.enable = true;
networking.networkmanager.enable = true;
hardware.enableRedistributableFirmware = true;
hardware.cpu.intel.updateMicrocode = true;
hardware.pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
support32Bit = true;
extraModules = [ pkgs.pulseaudio-modules-bt ];
};
hardware.u2f.enable = true;
hardware.sane.enable = true;
hardware.bluetooth = {
enable = true;
package = pkgs.bluezFull;
extraConfig = ''
[General]
Enable=Source,Sink,Media,Socket
'';
};
powerManagement.enable = (lib.mkForce true);
powerManagement.cpuFreqGovernor = (lib.mkForce null);
powerManagement.powertop.enable = true;
}