diff --git a/hosts/home.nix b/hosts/home.nix index c980722..aa20ccf 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -7,6 +7,7 @@ in { imports = [ ../vim.nix + ../ranger.nix ../fcitx5.nix ../wallpaper.nix ../picom.nix @@ -50,7 +51,6 @@ in # Command line utilities wget neofetch - ranger trash-cli # aliased to rm in .bashrc # GUI applications diff --git a/ranger.nix b/ranger.nix new file mode 100644 index 0000000..8e9a380 --- /dev/null +++ b/ranger.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: + +{ + home.packages = with pkgs; [ ranger ]; + + home.file = { + ".config/ranger/plugins/ranger_devicons".source = pkgs.fetchFromGitHub { + owner = "alexanderjeurissen"; + repo = "ranger_devicons"; + rev = "49fe4753c89615a32f14b2f4c78bbd02ee76be3c"; + sha256 = "YT7YFiTA2XtIoVzaVjUWMu6j4Nwo4iGzvOtjjWva/80="; + }; + ".config/ranger/rc.conf".text = "default_linemode devicons"; + }; +}