Skip to main content

Configure shell plugins using Nix

If you're using Nix to manage your shell configuration, you can configure 1Password Shell Plugins natively within your Nix configuration.

  1. Add the 1Password Shell Plugins flake to your flake inputs:

  2. Somewhere in your flake output configuration, import and use the appropriate module:

  3. Apply the updated configuration:

    ~/path/to/flake/directory/ should be the path to the directory containing your flake.nix file, and my-computer should be the name of the flake output to use as the system configuration.



Was this page helpful?