Skip to content

Commit

Permalink
home (terminal): Enable yazi
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Sep 27, 2024
1 parent a1cc8f6 commit 4766fe7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions home/terminal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ in {
./terraform.nix
./tmux.nix
./tools.nix
./yazi.nix
];
options.my.home.terminal = {
enable = lib.mkEnableOption "terminal";
Expand All @@ -31,6 +32,7 @@ in {
helix.enable = true;
terraform.enable = true;
tools.enable = true;
yazi.enable = true;
};
};
}
17 changes: 17 additions & 0 deletions home/terminal/yazi.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
config,
lib,
...
}: let
cfg = config.my.home.terminal.yazi;
in {
options.my.home.terminal.yazi = {
enable = lib.mkEnableOption "yazi";
};
config = lib.mkIf cfg.enable {
programs.yazi = {
enable = true;
enableFishIntegration = true;
};
};
}

0 comments on commit 4766fe7

Please sign in to comment.