[hyprland] Fix system keyring

This commit is contained in:
Periodic committed 2026-10-26 13:56:41 -07:00
1 parent 9005f1e658
commit c2a9e5d4fd
2 files changed
+16

No files matched your search

+4
View File
@@ -111,6 +111,10 @@
export HYPRCURSOR_SIZE="32" export HYPRCURSOR_SIZE="32"
export HYPRCURSOR_THEME="phinger" export HYPRCURSOR_THEME="phinger"
# Point SSH (and anything else that uses the ssh-agent protocol) at
# gnome-keyring's ssh-agent component instead of spawning a separate agent.
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/keyring/ssh"
# Nvidia config # Nvidia config
export LIBVA_DRIVER_NAME="nvidia" export LIBVA_DRIVER_NAME="nvidia"
export __GLX_VENDOR_LIBRARY_NAME="nvidia" export __GLX_VENDOR_LIBRARY_NAME="nvidia"
+12
View File
@@ -1,5 +1,6 @@
{ {
config, config,
lib,
pkgs, pkgs,
... ...
}: }:
@@ -69,6 +70,17 @@ in
chromium.enable = true; chromium.enable = true;
}; };
services = {
# Secret management: unlocks on login (see security.pam.*.enableGnomeKeyring at
# the system level) and provides the org.freedesktop.secrets D-Bus API plus an
# ssh-agent component.
gnome-keyring.enable = true;
# gnome-keyring's ssh-agent could be used in place of the plain one.
# Un-comment this if I'd rather use the system keyring instead of the ssh-agent.
# ssh-agent.enable = lib.mkForce false;
};
# GTK settings # GTK settings
gtk = { gtk = {
enable = true; enable = true;