This commit is contained in:
Sakooooo 2023-07-29 15:57:41 +03:00
parent 8526d86feb
commit 1c8ff97dd4
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 18 additions and 0 deletions

View file

@ -75,6 +75,7 @@
};
zsh.enable = true;
newsboat.enable = true;
ranger.enable = true;
};
media = {
mpd.enable = true;

View file

@ -3,5 +3,6 @@
./nix
./zsh
./newsboat
./ranger
];
}

View 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
];
};
}