helm/modules/shell/ranger.nix
2020-03-29 01:55:14 -04:00

19 lines
359 B
Nix

{ config, options, pkgs, lib, ... }:
with lib;
{
options.modules.shell.ranger = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf config.modules.shell.ranger.enable {
my.packages = with pkgs; [
ranger
# For image previews
(lib.mkIf config.services.xserver.enable w3m)
];
};
}