mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
17 lines
301 B
Nix
17 lines
301 B
Nix
![]() |
{ 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;
|
||
|
};
|
||
|
};
|
||
|
}
|