diff --git a/modules/profiles/desktop.nix b/modules/profiles/desktop.nix index 65879a8..b36b440 100644 --- a/modules/profiles/desktop.nix +++ b/modules/profiles/desktop.nix @@ -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 {