diff --git a/modules/ausweisapp.nix b/modules/ausweisapp.nix new file mode 100644 index 0000000..bca9aa1 --- /dev/null +++ b/modules/ausweisapp.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: + +lib.mkIf config.sbruder.gui.enable { + environment.systemPackages = with pkgs; [ + AusweisApp2 + ]; + + # required for SaC (smartphone as cardreader) + networking.firewall.allowedUDPPorts = [ 24727 ]; +} diff --git a/modules/default.nix b/modules/default.nix index 20389d3..16c2c0e 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -19,6 +19,7 @@ # configuration options imports = [ ../pkgs/modules.nix + ./ausweisapp.nix ./cups.nix ./docker.nix ./fonts.nix