unlock keyring on boot

This commit is contained in:
Henri Dohmen 2025-10-11 14:58:16 +02:00
parent e383fc2fad
commit f26647d6b7
Signed by: hd
GPG key ID: AB79213B044674AE
2 changed files with 2 additions and 4 deletions

View file

@ -36,8 +36,5 @@ in
pinentry.package = pkgs.pinentry-gtk2; pinentry.package = pkgs.pinentry-gtk2;
}; };
}; };
services.gnome.gnome-keyring = {
enable = true;
};
}; };
} }

View file

@ -11,6 +11,7 @@ in
{ {
options.hd.desktop.security.enable = mkEnableOption "Security"; options.hd.desktop.security.enable = mkEnableOption "Security";
config = mkIf cfg.enable { config = mkIf cfg.enable {
security = { }; security.pam.services.login.enableGnomeKeyring = true;
services.gnome.gnome-keyring.enable = true;
}; };
} }