Personal-use NixOS configuration

Correctly split Yubikey modules how I intended

+8 -4
+6 -4
config/common/yubikey.nix
··· 1 - { 2 - programs.gnupg.agent = { 3 - enable = true; 4 - }; 1 + { pkgs, ... }: 5 2 3 + { 6 4 environment.shellInit = '' 7 5 gpg-connect-agent /bye 8 6 export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) 9 7 ''; 8 + 9 + environment.systemPackages = with pkgs; [ 10 + gnupg 11 + ]; 10 12 }
+2
config/desktop/yubikey.nix
··· 6 6 ]; 7 7 8 8 programs.gnupg.agent = { 9 + enable = true; 10 + 9 11 enableSSHSupport = true; 10 12 }; 11 13