🔥 remove gnome-keyring, simple ssh-agent

This commit is contained in:
Laureηt 2024-10-06 15:33:12 +02:00
parent 5b0a8cd4b7
commit 79b1357774
Signed by: Laurent
SSH key fingerprint: SHA256:pb5NrYg80So5z9hmqQFPmp//sgr+DFeJkKhmGyU2NLk
2 changed files with 11 additions and 15 deletions

View file

@ -21,7 +21,6 @@ in {
"${lib.getExe pkgs.mako}"
"${lib.getExe pkgs.thunderbird}"
"${pkgs.wl-clipboard}/bin/wl-paste --watch ${lib.getExe pkgs.cliphist} store"
"${pkgs.gnome-keyring}/bin/gnome-keyring-daemon --start --components=secrets"
"${pkgs.hyprland}/bin/hyprctl setcursor catppuccin-${cursor.flavor}-${cursor.accent}-cursors 24" # FIXME: shouldn't be necessary
];

View file

@ -1,23 +1,20 @@
{pkgs, ...}: {
{...}: {
# enable polkit
security.polkit.enable = true;
# enable gpg agent
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-gnome3;
};
# secrets keyring
services.gnome.gnome-keyring.enable = true;
# seahorse secret manager
programs.seahorse.enable = true;
# RealtimeKit system
security.rtkit.enable = true;
# allow swaylock to use pam
security.pam.services.swaylock = {};
# enable ssh agent
programs.ssh = {
startAgent = true;
agentTimeout = "1h";
};
# # ssh-askpass replacement
# programs.ssh.enableAskPassword = true;
# programs.seahorse.enable = true;
}