From 9b0a9ecfad69f69e79f6de970d1e43ac018f3f53 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 9 Feb 2020 03:04:51 -0500 Subject: [PATCH] Add ranger module With image preview support via w3m. --- hosts/kuro/default.nix | 1 + modules/shell/ranger.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 modules/shell/ranger.nix diff --git a/hosts/kuro/default.nix b/hosts/kuro/default.nix index 1905d6bc..231c408e 100644 --- a/hosts/kuro/default.nix +++ b/hosts/kuro/default.nix @@ -21,6 +21,7 @@ + ## Project-based # discord, mainly diff --git a/modules/shell/ranger.nix b/modules/shell/ranger.nix new file mode 100644 index 00000000..67fd1b70 --- /dev/null +++ b/modules/shell/ranger.nix @@ -0,0 +1,9 @@ +{ config, lib, pkgs, ... }: + +{ + my.packages = with pkgs; [ + ranger + (lib.mkIf config.services.xserver.enable + w3m) + ]; +}