hardware/id-card: init

This commit is contained in:
Felix Buehler 2023-12-24 00:07:29 +01:00
parent 58bc1c8ebc
commit 7a51284072
2 changed files with 18 additions and 1 deletions

View file

@ -7,9 +7,10 @@
./drive-monitor
./firmware
./graphics
./id-card
./keychron
./yubikey
./sound
./thunderbolt
./yubikey
];
}

View file

@ -0,0 +1,16 @@
{ config, lib, ... }:
let
cfg = config.my.hardware.id-card;
in
{
options.my.hardware.id-card = with lib; {
enable = mkEnableOption "german id card authentication";
};
config = lib.mkIf cfg.enable {
programs.ausweisapp = {
enable = true;
openFirewall = true;
};
};
}