Use lib.mkDefault

This commit is contained in:
Maddy Guthridge 2026-02-09 22:32:50 +11:00
parent 0252ff960b
commit 4490c7f906
No known key found for this signature in database
GPG key ID: 7E0BC9B633D9B2D9

View file

@ -21,7 +21,8 @@ in
# Enable fingerprint reader # Enable fingerprint reader
services.fprintd = { services.fprintd = {
enable = true; enable = lib.mkDefault true;
# Fingerprint sensor will not work without these settings
tod.enable = true; tod.enable = true;
tod.driver = pkgs.libfprint-2-tod1-goodix; tod.driver = pkgs.libfprint-2-tod1-goodix;
}; };