tangled
alpha
login
or
join now
m1emi1em.dev
/
nixos-flake
1
fork
atom
Personal NixOS flake
1
fork
atom
overview
issues
pulls
pipelines
feat(yazi): add git plugin
m1emi1em.dev
9 months ago
887a3bb0
d6da632f
+16
-1
2 changed files
expand all
collapse all
unified
split
home
emily
cli
yazi
default.nix
yazi.toml
+7
-1
home/emily/cli/yazi/default.nix
···
1
1
-
{lib, ...}:
1
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
9
+
plugins = {
10
10
+
git = pkgs.yaziPlugins.git;
11
11
+
};
12
12
+
initLua = ''require("git"):setup()
13
13
+
'';
14
14
+
settings = importTOML ./yazi.toml;
9
15
};
10
16
home.shellAliases = {
11
17
y = "yazi";
+9
home/emily/cli/yazi/yazi.toml
···
1
1
+
[[plugin.prepend_fetchers]]
2
2
+
id = "git"
3
3
+
name = "*"
4
4
+
run = "git"
5
5
+
6
6
+
[[plugin.prepend_fetchers]]
7
7
+
id = "git"
8
8
+
name = "*/"
9
9
+
run = "git"