Configuration is now held by the `.org` files. All `.nix` files are tangled from the org-mode files.
638 B
638 B
Fingerprint Reader
Fingerprint Reader
My ThinkPad x220 has a fingerprint reader, so this is a plain toggle
rather than something applied unconditionally. Here’s the skeleton of
the nixos.fingerprint module.
{
flake.modules.nixos.fingerprint = {
<<config>>
};
}
Enabling the Reader
Rather than picking a driver myself, I let nixos-facter detect the reader and wire up the matching driver automatically.
hardware.facter.detected.fingerprint.enable = true;