summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/user-interface.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/settings/user-interface.nix b/system/settings/user-interface.nix
index 33a057a2..dd97ee40 100644
--- a/system/settings/user-interface.nix
+++ b/system/settings/user-interface.nix
@@ -70,7 +70,8 @@
     };
   };
 
-  programs.ssh.startAgent = true;
+  # use gnome-keyring
+  programs.ssh.startAgent = false;
 
   programs.dconf.enable = true;
   programs.seahorse.enable = true;
@@ -78,6 +79,10 @@
     gnome-keyring.enable = true;
     at-spi2-core.enable = true;
   };
+  services.xserver.displayManager.sessionCommands = ''
+    eval $(/run/wrappers/bin/gnome-keyring-daemon --start --components=secrets,ssh,pkcs11)
+    export SSH_AUTH_SOCK
+  '';
 
   imports = [
     ./services/xserver.nix