This commit is contained in:
mjallen18
2025-12-05 09:35:01 -06:00
parent d32826dc36
commit adf1cc7ca6
3 changed files with 9 additions and 11 deletions

View File

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