Add ranger module

With image preview support via w3m.
This commit is contained in:
Henrik Lissner 2020-02-09 03:04:51 -05:00
parent 7449444dcf
commit 9b0a9ecfad
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 10 additions and 0 deletions

View file

@ -21,6 +21,7 @@
<modules/shell/gnupg.nix> <modules/shell/gnupg.nix>
<modules/shell/pass.nix> <modules/shell/pass.nix>
<modules/shell/tmux.nix> <modules/shell/tmux.nix>
<modules/shell/ranger.nix>
<modules/shell/zsh.nix> <modules/shell/zsh.nix>
## Project-based ## Project-based
<modules/chat.nix> # discord, mainly <modules/chat.nix> # discord, mainly

9
modules/shell/ranger.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
my.packages = with pkgs; [
ranger
(lib.mkIf config.services.xserver.enable
w3m)
];
}