ranger
This commit is contained in:
parent
8526d86feb
commit
1c8ff97dd4
3 changed files with 18 additions and 0 deletions
|
@ -75,6 +75,7 @@
|
|||
};
|
||||
zsh.enable = true;
|
||||
newsboat.enable = true;
|
||||
ranger.enable = true;
|
||||
};
|
||||
media = {
|
||||
mpd.enable = true;
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
./nix
|
||||
./zsh
|
||||
./newsboat
|
||||
./ranger
|
||||
];
|
||||
}
|
||||
|
|
16
modules/shell/ranger/default.nix
Normal file
16
modules/shell/ranger/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue