remove mfa / gnome ssh agent patch

This commit is contained in:
Sean Buckley 2021-11-08 21:44:53 -05:00
parent fc97699747
commit 60223645f1

View file

@ -1,13 +1,8 @@
{ config, pkgs, lib, ... }:
with lib;
let
pkcslib = "${pkgs.opensc}/lib/opensc-pkcs11.so";
in
{
config = mkIf (config.sconfig.profile == "desktop") {
services.pcscd.enable = true;
programs.ssh.startAgent = true;
programs.ssh.agentPKCS11Whitelist = pkcslib;
sconfig = {
alacritty.enable = true;
@ -22,16 +17,6 @@ in
(pkgs.nerdfonts.override { fonts = [ "DejaVuSansMono" ]; })
];
nixpkgs.overlays = [
(self: super: {
gnome = super.gnome // {
gnome-keyring = super.gnome.gnome-keyring.overrideAttrs (old: {
configureFlags = old.configureFlags ++ [ "--disable-ssh-agent" ];
});
};
})
];
environment.systemPackages = with pkgs; [
brave
chromium
@ -49,8 +34,6 @@ in
tdesktop
youtube-dl
(pkgs.writeShellScriptBin "mfa" "exec ssh-add -s${pkcslib}")
(mpv-with-scripts.override { scripts = [ mpvScripts.mpris ]; })
(vscode-with-extensions.override {