This commit is contained in:
mjallen18
2025-12-23 21:04:21 -06:00
parent 8f08f24761
commit d981fb20c2
68 changed files with 957 additions and 543 deletions

View File

@@ -1,6 +1,15 @@
{ config, namespace, lib, pkgs, ... }:
{
config,
namespace,
lib,
pkgs,
...
}:
let
hasGui = config.${namespace}.desktop.hyprland.enable || config.${namespace}.desktop.gnome.enable || config.${namespace}.desktop.cosmic.enable;
hasGui =
config.${namespace}.desktop.hyprland.enable
|| config.${namespace}.desktop.gnome.enable
|| config.${namespace}.desktop.cosmic.enable;
in
{
security = {
@@ -37,12 +46,15 @@ in
};
};
environment.systemPackages = with pkgs; [
age-plugin-yubikey
libsecret
yubikey-manager
yubikey-personalization
] ++ (if hasGui then [ yubioath-flutter ] else [ ]);
environment.systemPackages =
with pkgs;
[
age-plugin-yubikey
libsecret
yubikey-manager
yubikey-personalization
]
++ (if hasGui then [ yubioath-flutter ] else [ ]);
services = {
yubikey-agent.enable = true;