2022-03-31 08:46:12 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2022-06-22 12:19:00 +00:00
|
|
|
# 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 ];
|
|
|
|
|
2022-06-22 12:19:00 +00:00
|
|
|
# automount usb drives
|
|
|
|
services.udisks2.enable = true;
|
|
|
|
|
2022-06-15 15:14:20 +00:00
|
|
|
# enable fingerprint reader
|
2022-06-22 12:19:00 +00:00
|
|
|
#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
|
|
|
|
];
|
|
|
|
|
|
|
|
}
|