From 9385849afda4688b1e0c817397375c29eecc8835 Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Thu, 24 Jul 2025 19:05:56 +0200 Subject: [PATCH] Auto-unlock gnome keyring on login and install libsecret --- modules/core/services.nix | 8 +++++--- modules/core/wayland.nix | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/core/services.nix b/modules/core/services.nix index a6f02ec..bbfa371 100644 --- a/modules/core/services.nix +++ b/modules/core/services.nix @@ -1,9 +1,9 @@ -{...}: { +{pkgs, ...}: { services = { gvfs.enable = true; gnome.gnome-keyring.enable = true; dbus.enable = true; - flatpak.enable = true; + flatpak.enable = true; printing.enable = true; blueman.enable = true; avahi = { @@ -12,4 +12,6 @@ openFirewall = true; }; }; - } + + environment.systemPackages = [pkgs.libsecret]; +} diff --git a/modules/core/wayland.nix b/modules/core/wayland.nix index f00a3f5..105edff 100644 --- a/modules/core/wayland.nix +++ b/modules/core/wayland.nix @@ -39,6 +39,7 @@ command = "uwsm start hyprland-uwsm.desktop"; user = "${username}"; }; + security.pam.services.greetd.enableGnomeKeyring = true; environment.sessionVariables.XKB_DEFAULT_LAYOUT = "es"; }