1 2 3 4 5 6 7 8 9 10 11 12 13
{ config, lib, ... }: with lib; let cfg = config.nixfiles.modules.gnupg; in { config = mkIf cfg.enable { programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; }; }
Consider giving Nix/NixOS a try! <3