Switch gpg-agent config to home-manager
This commit is contained in:
parent
eafa0892ae
commit
e9fddc2e9c
|
@ -6,16 +6,6 @@
|
|||
programs.dconf.enable = true;
|
||||
programs.zsh.enable = true;
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
# pinentryFlavor = "";
|
||||
};
|
||||
environment.shellInit = ''
|
||||
gpg-connect-agent /bye
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
'';
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
programs.nix-ld.libraries = with pkgs; [];
|
||||
programs.adb.enable = true;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
++ [(import ./btop.nix)] # resouces monitor
|
||||
++ [(import ./cava.nix)] # audio visualizer
|
||||
++ [(import ./discord.nix)] # discord with catppuccin theme
|
||||
++ [(import ./gpg.nix)] # GnuPG and its agent (gpg-agent)
|
||||
++ [(import ./floorp/floorp.nix)] # firefox based browser
|
||||
++ [(import ./fuzzel.nix)] # launcher
|
||||
++ [(import ./gaming.nix)] # packages related to gaming
|
||||
|
|
7
modules/home/gpg.nix
Normal file
7
modules/home/gpg.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{...}: {
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
sshKeys = ["D2A3680589B81F2B07DA6CFE21DF848F1AF4E9D3"];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue