I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
494 B

  1. # This file is controlled by /etc/dotfiles/README.org
  2. # This module MUST be included within home manager
  3. { config, options, lib, pkgs, ... }:
  4. with lib;
  5. with lib.types;
  6. let
  7. cfg = config.modules.gpg;
  8. in {
  9. options.modules.gpg = {
  10. enable = mkOption {
  11. type = bool;
  12. default = false;
  13. };
  14. };
  15. config = mkIf cfg.enable {
  16. services.gpg-agent = {
  17. enable = true;
  18. defaultCacheTtl = 1800;
  19. enableSshSupport = true;
  20. pinentryFlavor = "gtk2";
  21. };
  22. };
  23. }