cos/gnupg.nix

15 lines
290 B
Nix
Raw Permalink Normal View History

2025-11-18 17:14:20 -05:00
{pkgs, config, lib, ...}:
let
cfg = config.cos.gnupg;
in
{
options.cos.gnupg = {
enable = lib.mkEnableOption "Bikeability server";
};
config = lib.mkIf cfg.enable {
programs.gnupg.agent.enable = true;
programs.gnupg.agent.pinentryPackage = pkgs.pinentry-curses;
};
2025-11-16 10:46:52 -05:00
}