From 7e3f68be27c6d5f40b2d3af375658bf77da05b88 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 30 Aug 2023 22:51:29 +0900 Subject: [PATCH] Add ranger.nix --- home-manager/common/software/cli/ranger.nix | 9 +++++++++ home-manager/default.nix | 1 + 2 files changed, 10 insertions(+) create mode 100644 home-manager/common/software/cli/ranger.nix diff --git a/home-manager/common/software/cli/ranger.nix b/home-manager/common/software/cli/ranger.nix new file mode 100644 index 00000000..d79d8e49 --- /dev/null +++ b/home-manager/common/software/cli/ranger.nix @@ -0,0 +1,9 @@ +{ ... }: { + xdg.configFile."ranger-rc-conf" = { + enable = true; + target = "./ranger/rc.conf"; + text = '' + preview_images_method "kitty icat" + ''; + }; +} \ No newline at end of file diff --git a/home-manager/default.nix b/home-manager/default.nix index 2c9c8370..c688f2de 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -22,6 +22,7 @@ ./common/software/cli/neofetch.nix ./common/software/cli/neovim.nix ./common/software/cli/doom-emacs.nix + ./common/software/cli/ranger.nix # User configs ./users/${username}