cos/gnupg.nix
2025-11-19 21:01:46 -05:00

14 lines
290 B
Nix

{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;
};
}