about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-04-03T18·46+0200
committertazjin <tazjin@tvl.su>2022-04-09T08·49+0000
commit186c2822b0991684390a056d26ba9e9eac8265eb (patch)
tree0e104c65aa95275e7e2562dc44fbd97cf8ff3584 /ops
parentf0e6d3498d6c0f905977ea9432c311b6808634c5 (diff)
feat(ops/modules): Add module for using Estonian e-residency card r/3938
Someone already packaged the required software, so I didn't have to do
that.

Change-Id: Ifc6a68fd4cd89f4718368a05acb6c6f536e01aab
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5431
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'ops')
-rw-r--r--ops/modules/open_eid.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/ops/modules/open_eid.nix b/ops/modules/open_eid.nix
new file mode 100644
index 000000000000..112e5827f52c
--- /dev/null
+++ b/ops/modules/open_eid.nix
@@ -0,0 +1,10 @@
+# NixOS module to configure the Estonian e-ID software.
+{ pkgs, ... }:
+
+{
+  services.pcscd.enable = true;
+
+  environment.systemPackages = with pkgs; [
+    qdigidoc
+  ];
+}