op: update integration
This commit is contained in:
parent
4bac4efaeb
commit
fa3e01b192
2 changed files with 17 additions and 3 deletions
|
@ -28,8 +28,7 @@
|
|||
|
||||
../programs/jq.nix
|
||||
|
||||
../programs/texlive.nix
|
||||
../programs/pandoc.nix
|
||||
../programs/op.nix
|
||||
|
||||
../programs/podman.nix
|
||||
|
||||
|
@ -39,6 +38,10 @@
|
|||
../programs/eternal-terminal.nix
|
||||
|
||||
../programs/streamlink.nix
|
||||
|
||||
../programs/texlive.nix
|
||||
../programs/pandoc.nix
|
||||
|
||||
../programs/yt-dlp.nix
|
||||
];
|
||||
|
||||
|
@ -48,7 +51,6 @@
|
|||
stateVersion = "22.11";
|
||||
|
||||
packages = with pkgs; [
|
||||
agilebits-op
|
||||
arp-scan
|
||||
curlHTTP3
|
||||
dasel
|
||||
|
|
12
home/programs/op.nix
Normal file
12
home/programs/op.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
op = pkgs.agilebits-op;
|
||||
in
|
||||
{
|
||||
home.packages = [ op ];
|
||||
|
||||
programs.fish.interactiveShellInit = (lib.mkOrder 200 ''
|
||||
${op}/bin/op completion fish | source
|
||||
'');
|
||||
}
|
Loading…
Reference in a new issue