-
Add the 1Password Shell Plugins flake to your flake inputs:
-
Somewhere in your flake output configuration, import and use the appropriate module:
- NixOS without home-manager
- Nix with home-manager
-
Apply the updated configuration:
- NixOS (including home-manager as a NixOS module)
- Nix with standalone home-manager
~/path/to/flake/directory/should be the path to the directory containing yourflake.nixfile, andmy-computershould be the name of the flake output to use as the system configuration.