Move gpg-agent config to home-manager

This commit is contained in:
Kiana Sheibani 2022-04-30 13:32:55 -04:00
parent 45a9f82584
commit 7654dcd509
2 changed files with 8 additions and 8 deletions

View file

@ -59,14 +59,7 @@ nixpkgs, # The flake's input version of nixpkgs
environment.sessionVariables.GTK_THEME = "Adwaita:dark"; environment.sessionVariables.GTK_THEME = "Adwaita:dark";
# Security
services.openssh.enable = true; services.openssh.enable = true;
services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "curses";
};
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default

View file

@ -10,7 +10,7 @@
programs.git = { programs.git = {
enable = true; enable = true;
userName = "kiana-S"; userName = "Kiana Sheibani";
userEmail = "kiana.a.sheibani@gmail.com"; userEmail = "kiana.a.sheibani@gmail.com";
extraConfig = { extraConfig = {
@ -22,4 +22,11 @@
commit.gpgsign = true; commit.gpgsign = true;
}; };
}; };
programs.gpg.enable = true;
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentryFlavor = "curses";
};
} }