mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
remove mfa / gnome ssh agent patch
This commit is contained in:
parent
fc97699747
commit
60223645f1
1 changed files with 0 additions and 17 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue