options: rename fprint to hasFingerprint
This commit is contained in:
parent
095d24b797
commit
3ccf85aa9e
3 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ in {
|
|||
default = "desktop";
|
||||
};
|
||||
|
||||
fprint = mkOption {
|
||||
hasFingerprint = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
};
|
||||
auth = {
|
||||
fingerprint = {
|
||||
enabled = config.me.fprint;
|
||||
enabled = config.me.hasFingerprint;
|
||||
ready_message = "Scan fingerprint to unlock";
|
||||
};
|
||||
};
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
position = "-40,-10";
|
||||
}
|
||||
];
|
||||
label = lib.optionals config.me.fprint [
|
||||
label = lib.optionals config.me.hasFingerprint [
|
||||
# Fingerprint icon
|
||||
{
|
||||
monitor = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue