diff --git a/nodes/hosts/common/home/jay/home.nix b/nodes/hosts/common/home/jay/home.nix index 0bb5454..976eb01 100644 --- a/nodes/hosts/common/home/jay/home.nix +++ b/nodes/hosts/common/home/jay/home.nix @@ -14,6 +14,7 @@ ./programs/lazygit.nix ./programs/oh-my-posh.nix ./programs/rofi.nix + ./programs/yazi.nix ./services/arrpc.nix ./services/fluidsynth.nix ./services/hypridle.nix @@ -63,23 +64,6 @@ }; }; - programs.yazi = { - enable = true; - package = pkgs.yazi; - plugins = { - "bypass" = pkgs.yaziPlugins.bypass; - "chmod" = pkgs.yaziPlugins.chmod; - "full-border" = pkgs.yaziPlugins.full-border; - "lazygit" = pkgs.yaziPlugins.lazygit; - "mediainfo" = pkgs.yaziPlugins.mediainfo; - "no-status" = pkgs.yaziPlugins.no-status; - "ouch" = pkgs.yaziPlugins.ouch; - "restore" = pkgs.yaziPlugins.restore; - "smart-enter" = pkgs.yaziPlugins.smart-enter; - "toggle-pane" = pkgs.yaziPlugins.toggle-pane; - }; - }; - programs.rbw = { enable = true; # settings = { diff --git a/nodes/hosts/common/home/jay/programs/yazi.nix b/nodes/hosts/common/home/jay/programs/yazi.nix new file mode 100644 index 0000000..c0d9400 --- /dev/null +++ b/nodes/hosts/common/home/jay/programs/yazi.nix @@ -0,0 +1,18 @@ +{ pkgs, ...}: { + programs.yazi = { + enable = true; + package = pkgs.yazi; + plugins = { + "bypass" = pkgs.yaziPlugins.bypass; + "chmod" = pkgs.yaziPlugins.chmod; + "full-border" = pkgs.yaziPlugins.full-border; + "lazygit" = pkgs.yaziPlugins.lazygit; + "mediainfo" = pkgs.yaziPlugins.mediainfo; + "no-status" = pkgs.yaziPlugins.no-status; + "ouch" = pkgs.yaziPlugins.ouch; + "restore" = pkgs.yaziPlugins.restore; + "smart-enter" = pkgs.yaziPlugins.smart-enter; + "toggle-pane" = pkgs.yaziPlugins.toggle-pane; + }; + }; +}