mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +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, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
|
||||||
pkcslib = "${pkgs.opensc}/lib/opensc-pkcs11.so";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
config = mkIf (config.sconfig.profile == "desktop") {
|
config = mkIf (config.sconfig.profile == "desktop") {
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
programs.ssh.startAgent = true;
|
|
||||||
programs.ssh.agentPKCS11Whitelist = pkcslib;
|
|
||||||
|
|
||||||
sconfig = {
|
sconfig = {
|
||||||
alacritty.enable = true;
|
alacritty.enable = true;
|
||||||
|
@ -22,16 +17,6 @@ in
|
||||||
(pkgs.nerdfonts.override { fonts = [ "DejaVuSansMono" ]; })
|
(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; [
|
environment.systemPackages = with pkgs; [
|
||||||
brave
|
brave
|
||||||
chromium
|
chromium
|
||||||
|
@ -49,8 +34,6 @@ in
|
||||||
tdesktop
|
tdesktop
|
||||||
youtube-dl
|
youtube-dl
|
||||||
|
|
||||||
(pkgs.writeShellScriptBin "mfa" "exec ssh-add -s${pkcslib}")
|
|
||||||
|
|
||||||
(mpv-with-scripts.override { scripts = [ mpvScripts.mpris ]; })
|
(mpv-with-scripts.override { scripts = [ mpvScripts.mpris ]; })
|
||||||
|
|
||||||
(vscode-with-extensions.override {
|
(vscode-with-extensions.override {
|
||||||
|
|
Loading…
Reference in a new issue