From c54373bac74fdb7b28a542c8d198dee696924a70 Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Sat, 7 Nov 2020 11:58:17 +0100 Subject: [PATCH] feat(home-pc): add ausweisapp --- home-pc.nix | 1 + home/ausweisapp.nix | 5 +++++ home/felschr.nix | 1 + services/pcscd.nix | 7 +++++++ 4 files changed, 14 insertions(+) create mode 100644 home/ausweisapp.nix create mode 100644 services/pcscd.nix diff --git a/home-pc.nix b/home-pc.nix index ca5f9ed..ba7e5d1 100644 --- a/home-pc.nix +++ b/home-pc.nix @@ -10,6 +10,7 @@ ./virtualisation/docker.nix ./services/syncthing/felix-nixos.nix ./services/jellyfin.nix + ./services/pcscd.nix ]; swapDevices = [{ device = "/swap/swapfile"; }]; diff --git a/home/ausweisapp.nix b/home/ausweisapp.nix new file mode 100644 index 0000000..acfcded --- /dev/null +++ b/home/ausweisapp.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: + +with pkgs; { + home.packages = [ AusweisApp2 ]; +} diff --git a/home/felschr.nix b/home/felschr.nix index 00475c9..de41bbe 100644 --- a/home/felschr.nix +++ b/home/felschr.nix @@ -13,6 +13,7 @@ ./signal.nix ./browsers ./planck.nix + ./ausweisapp.nix ]; services.redshift = { diff --git a/services/pcscd.nix b/services/pcscd.nix new file mode 100644 index 0000000..ad5aefd --- /dev/null +++ b/services/pcscd.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ + # for reader used with AusweisApp2 + services.pcscd.enable = true; + services.pcscd.plugins = with pkgs; [ ccid pcsc-cyberjack ]; +}