mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-24 22:56:29 +00:00
28 lines
670 B
Nix
28 lines
670 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Update the CPU microcode
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
|
|
# Enable support for flashing new firmware onto my Moonlander
|
|
hardware.keyboard.zsa.enable = true;
|
|
|
|
hardware.nvidia.open = true;
|
|
|
|
services.udev.packages = [ pkgs.libu2f-host ];
|
|
|
|
# automount usb drives
|
|
services.udisks2.enable = true;
|
|
|
|
# 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;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
# tool for flashing firmware
|
|
wally-cli
|
|
];
|
|
|
|
}
|