yubi
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
{ lib, pkgs, ... }:
|
||||
{ config, namespace, lib, pkgs, ... }:
|
||||
let
|
||||
hasGui = config.${namespace}.desktop.hyprland.enable || config.${namespace}.desktop.gnome.enable || config.${namespace}.desktop.cosmic.enable;
|
||||
in
|
||||
{
|
||||
security = {
|
||||
rtkit.enable = lib.mkDefault true;
|
||||
@@ -39,8 +42,7 @@
|
||||
libsecret
|
||||
yubikey-manager
|
||||
yubikey-personalization
|
||||
yubioath-flutter
|
||||
];
|
||||
] ++ (if hasGui then [ yubioath-flutter ] else [ ]);
|
||||
|
||||
services = {
|
||||
yubikey-agent.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user