From e9d85deaa699cbcb3813cef388bb54b1df414b7a Mon Sep 17 00:00:00 2001 From: punkfairie Date: Tue, 27 May 2025 17:20:17 -0700 Subject: [PATCH] feat: gpg --- modules/home/profiles.nix | 1 + modules/home/programs/default.nix | 1 + .../cli/gpg/default.nix => modules/home/programs/gpg.nix | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) rename snowflake/modules/home/programs/cli/gpg/default.nix => modules/home/programs/gpg.nix (87%) diff --git a/modules/home/profiles.nix b/modules/home/profiles.nix index c5e43fc..56e3e62 100644 --- a/modules/home/profiles.nix +++ b/modules/home/profiles.nix @@ -18,6 +18,7 @@ in { eza = enabled; figlet = enabled; fish = enabled; + gpg = enabled; nh = enabled; }; } diff --git a/modules/home/programs/default.nix b/modules/home/programs/default.nix index d6fff6c..94762cd 100644 --- a/modules/home/programs/default.nix +++ b/modules/home/programs/default.nix @@ -12,6 +12,7 @@ ./gh.nix ./git ./glow.nix + ./gpg.nix ./nemo.nix ./nh.nix ./waybar.nix diff --git a/snowflake/modules/home/programs/cli/gpg/default.nix b/modules/home/programs/gpg.nix similarity index 87% rename from snowflake/modules/home/programs/cli/gpg/default.nix rename to modules/home/programs/gpg.nix index e379cc3..c7129e2 100644 --- a/snowflake/modules/home/programs/cli/gpg/default.nix +++ b/modules/home/programs/gpg.nix @@ -1,6 +1,6 @@ { - lib, config, + lib, ... }: let cfg = config.marleyos.programs.gpg; @@ -18,6 +18,8 @@ in { # Don't ask for the password very often. defaultCacheTtl = 60480000; maxCacheTtl = defaultCacheTtl; + + pinentryPackage = config.marleycfg.apps.pinentry; }; }; }