Jump to content

Ranger: Difference between revisions

From NixOS Wiki
imported>LinArcX
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[https://github.com/ranger/ranger Ranger] is a command line file manager with a minimalistic vim-inspired interface.
== Enabling ==
== Enabling ==
To use ranger, add it to configuration.nix:
To use ranger, add it to configuration.nix:
Line 13: Line 15:
{{Evaluate}}
{{Evaluate}}
=== Adds file glyphs / icon support to Ranger ===
=== Adds file glyphs / icon support to Ranger ===
Follow the instructions in:
Follow the instructions in: [https://github.com/alexanderjeurissen/ranger_devicons ranger_devicons]
[https://github.com/alexanderjeurissen/ranger_devicons ranger_devicons]
 
But before install it, you have to install a nerdfont derivations. i suggest to install:
You will also need to install [[Fonts#Installing_specific_nerdfonts|Nerdfonts]].
<nowiki>
 
nur.repos.mic92.source-code-pro-nerdfonts
[[Category:File Manager]]
</nowiki>
[[Category:Applications]]
from NUR.

Latest revision as of 17:42, 30 December 2024

Ranger is a command line file manager with a minimalistic vim-inspired interface.

Enabling

To use ranger, add it to configuration.nix:

❄︎ /etc/nixos/configuration.nix
environment.systemPackages = with pkgs; [
    #----=[ File Manager ]=----#
    ranger
    ...
];
🟆︎
Tip: In order to affect your NixOS system by your nix-language-specific changes you must first evaluate it:
$ nixos-rebuild switch --sudo

Adds file glyphs / icon support to Ranger

Follow the instructions in: ranger_devicons

You will also need to install Nerdfonts.