Update modules/workspace/misc.nix modules/workspace/ssh.nix
This commit is contained in:
parent
89c2cc0725
commit
c8f96ac263
@ -34,6 +34,11 @@
|
||||
key = "687558B21E04FE92B255BED0E081FF12ADCB4AD5";
|
||||
};
|
||||
};
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
};
|
||||
systemd.user.sockets.gpg-agent-ssh = lib.mkForce { };
|
||||
news.display = "silent";
|
||||
programs.command-not-found = {
|
||||
enable = true;
|
||||
|
@ -19,14 +19,6 @@
|
||||
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
||||
'';
|
||||
|
||||
programs = {
|
||||
ssh.startAgent = false;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.balsoft.home.file.".gnupg/scdaemon.conf".text = "reader-port Yubico Yubi";
|
||||
|
||||
home-manager.users.balsoft.programs.ssh = {
|
||||
|
Loading…
Reference in New Issue
Block a user