Move gpg-agent config to home-manager
This commit is contained in:
parent
45a9f82584
commit
7654dcd509
|
@ -59,14 +59,7 @@ nixpkgs, # The flake's input version of nixpkgs
|
|||
|
||||
environment.sessionVariables.GTK_THEME = "Adwaita:dark";
|
||||
|
||||
# Security
|
||||
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
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "kiana-S";
|
||||
userName = "Kiana Sheibani";
|
||||
userEmail = "kiana.a.sheibani@gmail.com";
|
||||
|
||||
extraConfig = {
|
||||
|
@ -22,4 +22,11 @@
|
|||
commit.gpgsign = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.gpg.enable = true;
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue