diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-18 21:23:56 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-18 21:23:56 +0200 |
commit | 71c5cd275f40ac9014c884f2602ad99d201cbdb3 (patch) | |
tree | 27104412f2f90ebe190f9e745f2f7af9be0285c6 /hosts | |
parent | Added default password for root (diff) | |
download | nixos-config-71c5cd275f40ac9014c884f2602ad99d201cbdb3.tar.gz nixos-config-71c5cd275f40ac9014c884f2602ad99d201cbdb3.tar.bz2 nixos-config-71c5cd275f40ac9014c884f2602ad99d201cbdb3.zip |
Switched from ssh-agent to gpg-agent
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/configuration.nix | 11 | ||||
-rw-r--r-- | hosts/home.nix | 7 |
2 files changed, 11 insertions, 7 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix index ad64f06..8bb625b 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -79,10 +79,6 @@ # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; - programs.gnupg.agent = { - enable = true; - #enableSSHSupport = true; #look at this - }; # List services that you want to enable: @@ -93,10 +89,11 @@ port = 2222; }]; programs.ssh.askPassword = ""; - programs.ssh.startAgent = true; - programs.ssh.extraConfig = '' + + /*programs.ssh.startAgent = true; + programs.ssh.extraConfig = '' AddKeysToAgent yes - ''; + '';*/ programs.firejail.enable = true; programs.firejail.wrappedBinaries = { diff --git a/hosts/home.nix b/hosts/home.nix index c01815c..7b7482c 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -38,6 +38,13 @@ in custom.trackma ]; + services.gpg-agent = { + enable = true; + enableSshSupport = true; + sshKeys = [ "E0EACE39DEA192BE50B00C3741C555123B65019E" ]; + }; + + programs = { git = { enable = true; |