mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 06:50:14 +01:00
feat: enable hyprlock u2fAuth/fprintAuth
This commit is contained in:
parent
07c610ad3a
commit
9dfd94b35a
1 changed files with 11 additions and 5 deletions
|
|
@ -1,5 +1,11 @@
|
|||
{ pkgs, inputs, config, username, host, ...}:
|
||||
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
config,
|
||||
username,
|
||||
host,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
||||
|
||||
|
|
@ -17,11 +23,11 @@
|
|||
sudo.u2fAuth = true;
|
||||
swaylock.fprintAuth = if (host == "sakura") 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.u2fAuth = true;
|
||||
hyprlock.fprintAuth = if (host == "sakura") then true else false;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
services.fprintd.enable = if (host == "sakura") then true else false;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue