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