From 3303c5a2497dec64f5265c5c68d046fb4e839add Mon Sep 17 00:00:00 2001 From: alejandro-angulo Date: Sun, 11 Aug 2024 19:31:51 -0700 Subject: [PATCH] Added yazi module --- homes/x86_64-linux/alejandro/default.nix | 1 + modules/home/programs/yazi/default.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 modules/home/programs/yazi/default.nix diff --git a/homes/x86_64-linux/alejandro/default.nix b/homes/x86_64-linux/alejandro/default.nix index 1e52341..7aa377a 100644 --- a/homes/x86_64-linux/alejandro/default.nix +++ b/homes/x86_64-linux/alejandro/default.nix @@ -11,6 +11,7 @@ gpg.enable = true; kitty.enable = true; zoxide.enable = true; + yazi.enable = true; }; tools = { diff --git a/modules/home/programs/yazi/default.nix b/modules/home/programs/yazi/default.nix new file mode 100644 index 0000000..eac80a1 --- /dev/null +++ b/modules/home/programs/yazi/default.nix @@ -0,0 +1,19 @@ +{ + config, + lib, + namespace, + ... +}: let + cfg = config.${namespace}.programs.yazi; +in { + options.${namespace}.programs.yazi = { + enable = lib.mkEnableOption "yazi"; + }; + + config = lib.mkIf cfg.enable { + programs.yazi = { + enable = true; + catppuccin.enable = true; + }; + }; +}