removed shell plugins for 1 password
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
@@ -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
|
||||
# '';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user