fmt ++
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user