Skip to content

Commit

Permalink
feat: wrap yazi on asahi
Browse files Browse the repository at this point in the history
  • Loading branch information
icecreammatt committed Jan 24, 2024
1 parent ecadb22 commit 74d83e7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hosts/asahi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@ let
overlays = [
(import ../../overlay/overlay.nix)
];
};

yazi = pkgs.symlinkJoin {
name = "yazi-wrapped";
paths = [ pkgs.yazi ];
nativeBuildInputs = [ pkgs.makeBinaryWrapper ];
postBuild = ''
wrapProgram "$out/bin/yazi" --set TERM_PROGRAM "WezTerm"
'';
};

in
{
# M1 Macbook Pro + Asahi Linux Configuration
Expand Down Expand Up @@ -57,6 +66,7 @@ in
pkgs.which # Determine where processes are
pkgs.wl-clipboard # Command-line copy/paste utilities for Wayland
pkgs.waypipe
yazi
pkgs.zk
];
stateVersion = "23.05";
Expand Down

0 comments on commit 74d83e7

Please sign in to comment.