dotfiles/entropy/nixos/modules/hardware.nix

29 lines
670 B
Nix
Raw Permalink Normal View History

2022-03-31 08:46:12 +00:00
{ config, pkgs, ... }:
{
# Update the CPU microcode
hardware.cpu.intel.updateMicrocode = true;
2022-03-31 08:46:12 +00:00
# Enable support for flashing new firmware onto my Moonlander
hardware.keyboard.zsa.enable = true;
2023-05-02 08:49:18 +00:00
hardware.nvidia.open = true;
2022-03-31 08:46:12 +00:00
services.udev.packages = [ pkgs.libu2f-host ];
# automount usb drives
services.udisks2.enable = true;
2022-06-15 15:14:20 +00:00
# enable fingerprint reader
#services.fprintd.enable = true;
#security.pam.services.login.fprintAuth = true;
##security.pam.services.xscreensaver.fprintAuth = true;
#security.pam.services.sudo.fprintAuth = true;
2022-03-31 08:46:12 +00:00
environment.systemPackages = with pkgs; [
# tool for flashing firmware
wally-cli
];
}