mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds fprintd for zinnia as well
This commit is contained in:
parent
cfe2e227b3
commit
ddbca9dbd9
1 changed files with 21 additions and 3 deletions
|
|
@ -21,14 +21,32 @@
|
|||
login.u2fAuth = true;
|
||||
greetd.u2fAuth = true;
|
||||
sudo.u2fAuth = true;
|
||||
swaylock.fprintAuth = if (host == "sakura") then true else false;
|
||||
swaylock.fprintAuth =
|
||||
if (host == "sakura") then
|
||||
true
|
||||
else if (host == "zinnia") then
|
||||
true
|
||||
else
|
||||
false;
|
||||
# No longer using Hyprlock, might stay here for if I ever switch to it again.
|
||||
hyprlock.u2fAuth = true;
|
||||
hyprlock.fprintAuth = if (host == "sakura") then true else false;
|
||||
hyprlock.fprintAuth =
|
||||
if (host == "sakura") then
|
||||
true
|
||||
else if (host == "zinnia") then
|
||||
true
|
||||
else
|
||||
false;
|
||||
};
|
||||
};
|
||||
|
||||
services.fprintd.enable = if (host == "sakura") then true else false;
|
||||
services.fprintd.enable =
|
||||
if (host == "sakura") then
|
||||
true
|
||||
else if (host == "zinnia") then
|
||||
true
|
||||
else
|
||||
false;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
yubikey-manager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue