nixos/modules/shell/ranger/default.nix
2023-07-29 15:57:41 +03:00

16 lines
278 B
Nix

{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.shell.ranger;
in
{
options.modules.shell.ranger = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
ranger
];
};
}