From 8091bae559bad0acec44622f1ad082e78074ca70 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 24 Jul 2022 18:06:54 +0200 Subject: [PATCH] ausweisapp: Init --- modules/ausweisapp.nix | 10 ++++++++++ modules/default.nix | 1 + 2 files changed, 11 insertions(+) create mode 100644 modules/ausweisapp.nix 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