Personal NixOS flake

feat(yazi): add git plugin

+16 -1
+7 -1
home/emily/cli/yazi/default.nix
··· 1 - {lib, ...}: 1 + { lib, pkgs, ... }: 2 2 let 3 3 inherit (lib.trivial) importTOML; 4 4 in ··· 6 6 programs.yazi = { 7 7 enable = true; 8 8 theme = importTOML ./catppuccin-mocha-pink.toml; 9 + plugins = { 10 + git = pkgs.yaziPlugins.git; 11 + }; 12 + initLua = ''require("git"):setup() 13 + ''; 14 + settings = importTOML ./yazi.toml; 9 15 }; 10 16 home.shellAliases = { 11 17 y = "yazi";
+9
home/emily/cli/yazi/yazi.toml
··· 1 + [[plugin.prepend_fetchers]] 2 + id = "git" 3 + name = "*" 4 + run = "git" 5 + 6 + [[plugin.prepend_fetchers]] 7 + id = "git" 8 + name = "*/" 9 + run = "git"