aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/base
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-14 17:06:54 +0900
committersefidel <contact@sefidel.net>2022-02-14 17:06:54 +0900
commit975fa49ca3e719c4a59db62cd41a72b957e52d23 (patch)
tree547dba3f9ad69ffe25d4ef4e91d4c25987399fcf /home/profiles/base
parenta37b30ffd61fcf6389edbace5771857d5aa1e3bd (diff)
downloadnixrc-975fa49ca3e719c4a59db62cd41a72b957e52d23.zip
chore: move gpg-related settings to base
Diffstat (limited to 'home/profiles/base')
-rw-r--r--home/profiles/base/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index 9c97d5f..5e5cbcb 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -81,6 +81,8 @@ in
# Normal
pkgs.bottom
pkgs.fd
+ # Fix gpg not recognizing foot terminfo
+ pkgs.foot.terminfo
pkgs.fzf
pkgs.hydra-check
pkgs.libnotify
@@ -115,6 +117,7 @@ in
direnv.nix-direnv.enable = true;
exa.enable = true;
exa.enableAliases = true;
+ gpg.enable = true;
home-manager.enable = true;
htop.enable = true;
@@ -239,6 +242,15 @@ in
settings = import ./config/dunst.nix { inherit neotheme; };
};
+ gpg-agent = {
+ enable = true;
+ pinentryFlavor = "gtk2";
+ defaultCacheTtl = 3600;
+ defaultCacheTtlSsh = 3600;
+ maxCacheTtl = 86400;
+ maxCacheTtlSsh = 86400;
+ };
+
swayidle = {
enable = true;
events = [