From 974c703031ac5b864ebccf532439e0383e79bdc9 Mon Sep 17 00:00:00 2001 From: Spotlight Date: Sat, 13 May 2023 15:49:10 -0500 Subject: [PATCH 1/2] Add gpg --- config/home-manager/home.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/config/home-manager/home.nix b/config/home-manager/home.nix index 9722767..0ab0f89 100644 --- a/config/home-manager/home.nix +++ b/config/home-manager/home.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: # In order to allow reuse of the iTerm2 shell integrations repo # for both its utility symlinks and zsh initialization plugin, @@ -49,6 +49,15 @@ in { init.defaultBranch = "main"; }; }; + + # GPG + programs.gpg.enable = true; + home.file.".gnupg/gpg-agent.conf" = lib.mkIf pkgs.stdenv.isDarwin { + text = '' + pinentry-program "${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac" + ''; + }; + # password-store programs.password-store = { enable = true; From 2e4b482d43376087ec9c3e565de6891244d1e9e3 Mon Sep 17 00:00:00 2001 From: Spotlight Date: Sat, 13 May 2023 15:49:16 -0500 Subject: [PATCH 2/2] Add various useful utilities --- config/home-manager/home.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/home-manager/home.nix b/config/home-manager/home.nix index 0ab0f89..ea641c6 100644 --- a/config/home-manager/home.nix +++ b/config/home-manager/home.nix @@ -25,11 +25,15 @@ in { "/home/spotlight"; home.packages = with pkgs; [ + ffmpeg go + google-cloud-sdk htop mtr ncdu tmux + virt-manager + yt-dlp ]; # Git