Nix-Vibe public snapshot (squashed history)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.my.hardware.laptop;
|
||||
in
|
||||
{
|
||||
options.my.hardware.laptop = {
|
||||
enable = lib.mkEnableOption "Laptop-specific hardware support (fingerprint reader).";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Fingerprint authentication - laptops only.
|
||||
# (fwupd is enabled globally via modules/core/management.nix)
|
||||
services.fprintd.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user