Enable OpenSSH agent and GnuPG

This commit is contained in:
Kiana Sheibani 2022-04-28 13:17:06 -04:00
parent 0d651eed9b
commit edf528ee07
2 changed files with 10 additions and 1 deletions

View file

@ -59,6 +59,16 @@ 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;
programs.ssh.startAgent = 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
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions

View file

@ -7,7 +7,6 @@ in {
ffmpeg ffmpeg
jq jq
git git
gnupg
wget wget
libnotify libnotify
ripgrep ripgrep