From 682bc9d8261825a0c86c35caa7e7a04a950645d0 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Mon, 25 Aug 2025 21:53:53 -0500 Subject: [PATCH] removed shell plugins for 1 password --- homeManagerModules/default.nix | 18 +++++++++--------- homeManagerModules/shell.nix | 10 +++++----- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/homeManagerModules/default.nix b/homeManagerModules/default.nix index 67a996d..17a1ad4 100644 --- a/homeManagerModules/default.nix +++ b/homeManagerModules/default.nix @@ -91,15 +91,15 @@ # Let Home Manager install and manage itself. programs.home-manager.enable = true; - # https://developer.1password.com/docs/cli/shell-plugins/nix/ - programs._1password-shell-plugins = lib.mkIf config._1password { - # enable 1Password shell plugins for bash, zsh, and fish shell - enable = true; - # the specified packages as well as 1Password CLI will be - # automatically installed and configured to use shell plugins - # https://developer.1password.com/docs/cli/shell-plugins - plugins = with pkgs; [ gh ]; - }; + # # https://developer.1password.com/docs/cli/shell-plugins/nix/ + # programs._1password-shell-plugins = lib.mkIf config._1password { + # # enable 1Password shell plugins for bash, zsh, and fish shell + # enable = true; + # # the specified packages as well as 1Password CLI will be + # # automatically installed and configured to use shell plugins + # # https://developer.1password.com/docs/cli/shell-plugins + # plugins = with pkgs; [ gh ]; + # }; home.file.".config/1Password/ssh/agent.toml" = lib.mkIf config._1password { # https://developer.1password.com/docs/ssh/agent/config text = '' diff --git a/homeManagerModules/shell.nix b/homeManagerModules/shell.nix index 5c297b3..a39f80b 100644 --- a/homeManagerModules/shell.nix +++ b/homeManagerModules/shell.nix @@ -37,10 +37,10 @@ ] ++ lib.optional config._1password "1password"; }; shellAliases.ls = "${pkgs.eza}/bin/eza -lgos type --no-time"; - initContent = lib.mkIf config._1password '' - if [ -f "${config.home.homeDirectory}/.config/op/plugins.sh" ]; then - source ${config.home.homeDirectory}/.config/op/plugins.sh - fi - ''; + # initContent = lib.mkIf config._1password '' + # if [ -f "${config.home.homeDirectory}/.config/op/plugins.sh" ]; then + # source ${config.home.homeDirectory}/.config/op/plugins.sh + # fi + # ''; }; }