changed agent

This commit is contained in:
2024-04-27 00:28:32 +02:00
parent aea9b35aa6
commit 382da16927
2 changed files with 22 additions and 19 deletions

View File

@@ -134,6 +134,9 @@
lmstudio lmstudio
unstable.arduino-ide unstable.arduino-ide
iwgtk iwgtk
kwallet-pam
kwalletcli
kwalletmanager
]; ];
# services.gnome-keyring = { # services.gnome-keyring = {
@@ -145,16 +148,16 @@
# ]; # ];
# }; # };
programs.keychain = { # programs.keychain = {
enable = true; # enable = true;
enableZshIntegration = true; # enableZshIntegration = true;
keys = [ # keys = [
"id_rsa" # "id_rsa"
]; # ];
enableXsessionIntegration = true; # enableXsessionIntegration = true;
}; # };
systemd.user.sessionVariables.SSH_AUTH_SOCK = "/run/user/1000/keyring/ssh"; # systemd.user.sessionVariables.SSH_AUTH_SOCK = "/run/user/1000/keyring/ssh";
home.sessionVariables = { home.sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";

View File

@@ -42,10 +42,10 @@
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
programs.mtr.enable = true; programs.mtr.enable = true;
# programs.gnupg.agent = { programs.gnupg.agent = {
# enable = true; enable = true;
# # enableSSHSupport = true; enableSSHSupport = true;
# }; };
# This setups a SSH server. Very important if you're setting up a headless system. # This setups a SSH server. Very important if you're setting up a headless system.
# Feel free to remove if you don't need it. # Feel free to remove if you don't need it.
@@ -59,15 +59,15 @@
}; };
}; };
security.pam.services.kwallet = { # security.pam.services.kwallet = {
name = "kwallet"; # name = "kwallet";
enableKwallet = true; # enableKwallet = true;
}; # };
programs.ssh = { programs.ssh = {
startAgent = true; # startAgent = true;
forwardX11 = true; forwardX11 = true;
enableAskPassword = true; # enableAskPassword = true;
}; };
# Open ports in the firewall. # Open ports in the firewall.