Skip to content

Commit

Permalink
feat(fish): Use 1Password Shell Plugins from upstream flake
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Mar 8, 2024
1 parent 6a02a81 commit 413c875
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 63 deletions.
97 changes: 83 additions & 14 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
url = "github:dwarfmaster/arkenfox-nixos";
inputs.nixpkgs.follows = "nixpkgs";
};
_1password-shell-plugins.url = "github:1Password/shell-plugins";
};

outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
Expand Down
6 changes: 3 additions & 3 deletions home-manager/modules/fish.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ pkgs, lib, inputs, ... }:
let
inherit (pkgs) stdenv;
inherit (stdenv) isLinux;
Expand Down Expand Up @@ -29,8 +29,8 @@ in {
[ thefuck tealdeer tokei cachix _1password btop ]
++ lib.lists.optionals isLinux [ xclip ];

imports = [ ./op-shell-plugins.nix ];
programs.op-shell-plugins = {
imports = [ inputs._1password-shell-plugins.hmModules.default ];
programs._1password-shell-plugins = {
enable = true;
plugins = with pkgs; [ gh ];
};
Expand Down
46 changes: 0 additions & 46 deletions home-manager/modules/op-shell-plugins.nix

This file was deleted.

0 comments on commit 413c875

Please sign in to comment.