split waybar into multiple files
This commit is contained in:
parent
53c7532351
commit
7cff7f09c3
29 changed files with 953 additions and 617 deletions
20
modules/hardware/smartcard.nix
Normal file
20
modules/hardware/smartcard.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue