options: rename fprint to hasFingerprint

This commit is contained in:
LavaDesu 2025-03-23 12:47:02 +11:00
parent 095d24b797
commit 3ccf85aa9e
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ in {
default = "desktop";
};
fprint = mkOption {
hasFingerprint = mkOption {
type = types.bool;
default = false;
};

View file

@ -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 = "";