nixos/modules/hardware/id-card/default.nix
2025-09-21 18:40:36 +02:00

16 lines
295 B
Nix

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