libkookie: gpg: implement gpg and yubikey handling

wip/yesman
Katharina Fey 3 years ago
parent 4e05692774
commit b86ac76086
  1. 2
      infra/libkookie/configuration/workstation/gpg/default.nix
  2. 15
      infra/libkookie/configuration/workstation/yubikey/default.nix
  3. 3
      infra/libkookie/roots/tempest.nix

@ -1,4 +1,4 @@
{ config, ... }:
{ config, home-manager, ... }:
{
programs.gnupg.agent = {

@ -0,0 +1,15 @@
{ config, pkgs, ... }:
with pkgs;
{
services.udev.packages = [ yubikey-personalization ];
# Sometimes this is needed, so we keep it here
# services.pcscd.enable = true;
# FIXME: Can I remove these?
# Previously these rules were required to make
# Yubikey support work on `uwu`, but maybe this
# is redundant with special udev rules?
environment.systemPackages = [ yubikey-manager yubikey-personalization ];
}

@ -33,6 +33,9 @@ in
<configuration/workstation/xkblayout>
<configuration/workstation/yubikey>
<configuration/workstation/gpg>
#################################################################
# home-manager modules that exist entirely in userspace

Loading…
Cancel
Save