Personal NixOS flake

feat(yazi): add shortcut to go to ~/Pictures

+9 -1
+9 -1
home/emily/cli/yazi/default.nix
··· 1 - { lib, pkgs, ... }: 2 let 3 inherit (lib.trivial) importTOML; 4 in ··· 12 initLua = ''require("git"):setup() 13 ''; 14 settings = importTOML ./yazi.toml; 15 }; 16 home.shellAliases = { 17 y = "yazi";
··· 1 + { config, lib, pkgs, ... }: 2 let 3 inherit (lib.trivial) importTOML; 4 in ··· 12 initLua = ''require("git"):setup() 13 ''; 14 settings = importTOML ./yazi.toml; 15 + 16 + keymap = { 17 + mgr.prepend_keymap = [ 18 + { 19 + run = "cd ${config.xdg.userDirs.pictures}"; 20 + on = [ "g" "p" ]; } 21 + ]; 22 + }; 23 }; 24 home.shellAliases = { 25 y = "yazi";