1
0
Fork 0
nix-config/modules/nixos/system/gnupg/default.nix
Philipp 39fb8c64dc
add chatterino, plasma-config, kitty, runelite, eza
fix formatting, fix btrfs being enabled by default update flake
2025-02-08 23:19:59 +01:00

26 lines
414 B
Nix

{
config,
pkgs,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.system.gnupg;
in
{
options.${namespace}.system.gnupg = with types; {
enable = mkBoolOpt false "Whether or not to manage fonts.";
};
config = mkIf cfg.enable {
services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
}