We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d36189b commit 6519f1bCopy full SHA for 6519f1b
nix/shell-plugins.nix
@@ -21,6 +21,7 @@ in {
21
options = {
22
programs._1password-shell-plugins = {
23
enable = mkEnableOption "1Password Shell Plugins";
24
+ package = mkPackageOption pkgs "_1password" { };
25
plugins = mkOption {
26
type = types.listOf types.package;
27
default = [ ];
@@ -62,7 +63,7 @@ in {
62
63
name = package;
64
value = "op plugin run -- ${package}";
65
}) pkg-exe-names);
- packages = [ pkgs._1password ] ++ cfg.plugins;
66
+ packages = [ cfg.package ] ++ cfg.plugins;
67
in mkIf cfg.enable (mkMerge [
68
({
69
programs = {
0 commit comments