about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hosts/configuration.nix11
-rw-r--r--hosts/home.nix7
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;