dotfiles/nix/home-manager/modules/gpg.nix
2021-02-28 19:18:30 +01:00

12 lines
260 B
Nix

{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib }:
{ config, lib, ... }:
{
home.packages = [
custom.gpg-key
];
home.activation.gnupghome = config.lib.dag.entryAfter ["writeBoundary"] ''
ln -sf /mnt/key/gnupg ~/.gnupg
'';
}