split waybar into multiple files

This commit is contained in:
Lucy Hochkamp 2025-10-06 21:29:04 +02:00
parent 53c7532351
commit 7cff7f09c3
No known key found for this signature in database
29 changed files with 953 additions and 617 deletions

View file

@ -0,0 +1,20 @@
{
pkgs,
lib,
config,
...
}:
let
cfg = config.xyno.hardware.smartcard;
in
{
options.xyno.hardware.smartcard.enable =
lib.mkEnableOption "enable stuff needed for smartcards to work right";
config = lib.mkIf cfg.enable {
services.vsmartcard-vpcd.enable = true;
hardware.gpgSmartcards.enable = true;
services.fido2-hid-bridge.enable = true;
services.pcscd.enable = true;
};
}