forked from M-Labs/nix-scripts
nixops: enable SSH agent with opensc on desktop machines
This commit is contained in:
parent
d6691c2e68
commit
2edf38876d
@ -49,6 +49,9 @@ in
|
||||
''
|
||||
PKCS11Provider "${pkgs.opensc}/lib/opensc-pkcs11.so"
|
||||
'';
|
||||
programs.ssh.startAgent = true;
|
||||
services.gnome3.gnome-keyring.enable = pkgs.lib.mkForce false;
|
||||
programs.ssh.agentPKCS11Whitelist = "${pkgs.opensc}/lib/opensc-pkcs11.so";
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing = {
|
||||
|
@ -38,6 +38,8 @@
|
||||
''
|
||||
PKCS11Provider "${pkgs.opensc}/lib/opensc-pkcs11.so"
|
||||
'';
|
||||
programs.ssh.startAgent = true;
|
||||
programs.ssh.agentPKCS11Whitelist = "${pkgs.opensc}/lib/opensc-pkcs11.so";
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing = {
|
||||
|
Loading…
Reference in New Issue
Block a user