Use lib.mkDefault
This commit is contained in:
parent
0252ff960b
commit
4490c7f906
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,8 @@ in
|
|||
|
||||
# Enable fingerprint reader
|
||||
services.fprintd = {
|
||||
enable = true;
|
||||
enable = lib.mkDefault true;
|
||||
# Fingerprint sensor will not work without these settings
|
||||
tod.enable = true;
|
||||
tod.driver = pkgs.libfprint-2-tod1-goodix;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue