1

add ranger module

This commit is contained in:
2022-08-10 22:43:28 +02:00
parent f79931c953
commit 4f175dcf36

31
modules/ranger.nix Normal file
View 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
];
};
}