From 6c5f261d8af3c7cc8ab860e7442864c6fd6ae773 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Thu, 30 Apr 2026 11:42:35 -0500 Subject: [PATCH] fix for gnome keyring --- configuration.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/configuration.nix b/configuration.nix index 3f5328b..a777251 100644 --- a/configuration.nix +++ b/configuration.nix @@ -70,13 +70,16 @@ security.pam.services.gdm-password.enableGnomeKeyring = true; security.pam.services.gdm-autologin.enableGnomeKeyring = true; - # Declaratively guarantee the GNOME Keyring default pointer exists for the free user. - # Running this at the user level prevents root from corrupting ~/.local permissions on fresh installs. - systemd.user.tmpfiles.rules = [ - "d %h/.local/share/keyrings 0700 - - - -" - "f %h/.local/share/keyrings/default 0600 - - - login\n" + # Declaratively guarantee the GNOME Keyring default pointer exists. + # Defining the full path ensures root doesn't accidentally lock the user out of .local + systemd.tmpfiles.rules = [ + "d /home/free/.local 0700 free users -" + "d /home/free/.local/share 0700 free users -" + "d /home/free/.local/share/keyrings 0700 free users -" + "f /home/free/.local/share/keyrings/default 0600 free users - login\n" ]; + # ── Audio ────────────────────────────────────────────────── services.pulseaudio.enable = false; security.rtkit.enable = true;