nixos/users/malte/gpg.nix
Malte Tammena 9bada411db Move [marie|malte] -> /users/[marie|malte]
To prepare for an addiotional /users/modules
which can be shared between users.
2022-01-13 12:08:39 +01:00

17 lines
315 B
Nix

{ pkgs, ... }:
let conf = import ./conf.nix;
in {
home.packages = with pkgs; [ yubikey-personalization ];
programs.gpg = { enable = true; };
services.gpg-agent = {
enable = true;
enableScDaemon = true;
enableSshSupport = true;
sshKeys = [ conf.gpg.grip ];
pinentryFlavor = "qt";
};
}