add ranger module
This commit is contained in:
31
modules/ranger.nix
Normal file
31
modules/ranger.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ config, nixosConfig, lib, mylib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
with mylib.modules;
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.modules.ranger;
|
||||||
|
in {
|
||||||
|
|
||||||
|
options.modules.ranger = {
|
||||||
|
enable = mkEnableOpt "Ranger";
|
||||||
|
};
|
||||||
|
|
||||||
|
# TODO: Ranger configuration
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
ranger
|
||||||
|
ueberzug
|
||||||
|
ffmpegthumbnailer
|
||||||
|
atool
|
||||||
|
p7zip
|
||||||
|
zip
|
||||||
|
unzip
|
||||||
|
unrar
|
||||||
|
libarchive
|
||||||
|
exiftool
|
||||||
|
mediainfo
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user