Move ranger configuration
All checks were successful
/ check (push) Successful in 1m49s

This commit is contained in:
Oliver Davies 2025-07-27 22:07:00 +01:00
parent cff6bf0167
commit 8d7d6115e3
5 changed files with 3 additions and 18 deletions

View file

@ -7,7 +7,6 @@
cli = { cli = {
bookmarkthis.enable = true; bookmarkthis.enable = true;
node.enable = true; node.enable = true;
ranger.enable = true;
starship.enable = true; starship.enable = true;
zsh.enable = true; zsh.enable = true;
}; };

View file

@ -10,8 +10,6 @@
cli = { cli = {
bookmarkthis.enable = true; bookmarkthis.enable = true;
node.enable = true; node.enable = true;
ranger.enable = true;
sxhkd.enable = true; sxhkd.enable = true;
starship.enable = true; starship.enable = true;
zsh.enable = true; zsh.enable = true;

View file

@ -8,7 +8,6 @@
./gtk.nix ./gtk.nix
./media/handbrake.nix ./media/handbrake.nix
./node.nix ./node.nix
./ranger.nix
./redshift.nix ./redshift.nix
./screenkey.nix ./screenkey.nix
./starship.nix ./starship.nix

View file

@ -1,14 +0,0 @@
{ config, lib, ... }:
with lib;
let
cfg = config.features.cli.ranger;
in
{
options.features.cli.ranger.enable = mkEnableOption "Enable ranger";
config = mkIf cfg.enable {
programs.ranger.enable = true;
};
}

3
modules2/ranger.nix Normal file
View file

@ -0,0 +1,3 @@
{
flake.modules.homeManager.base.programs.ranger.enable = true;
}