Skip to content

Commit

Permalink
feat: add yazi to work config
Browse files Browse the repository at this point in the history
  • Loading branch information
icecreammatt committed Jan 31, 2024
1 parent cd89929 commit 6e73095
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion hosts/darwin/hosts/work/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# hosts/mc-2A3MD6R-MBP/default.nix
{pkgs, ...}: {
{pkgs, ...}: let
# Wrap yazi so images work
yazi_wrapped = pkgs.symlinkJoin {
name = "yazi-wrapped";
paths = [pkgs.yazi];
nativeBuildInputs = [pkgs.makeBinaryWrapper];
postBuild = ''
wrapProgram "$out/bin/yazi" --set TERM_PROGRAM "WezTerm"
'';
};
in {
system.defaults.dock.autohide = false;

users.users.mcarrier = {
Expand Down Expand Up @@ -29,6 +39,7 @@
jenkins-job-builder
groovy
jira-cli-go
yazi_wrapped
# nodePackages_latest.grunt-cli
# nodePackages_latest.bower
];
Expand Down

0 comments on commit 6e73095

Please sign in to comment.