re-organize home-modules
This commit is contained in:
11
modules/home/ranger/config.nix
Normal file
11
modules/home/ranger/config.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{config, ...}: {
|
||||
programs.ranger = {
|
||||
settings = {
|
||||
preview_images = true;
|
||||
preview_images_method =
|
||||
if config.programs.kitty.enable
|
||||
then "kitty"
|
||||
else "ueberzug";
|
||||
};
|
||||
};
|
||||
}
|
||||
6
modules/home/ranger/default.nix
Normal file
6
modules/home/ranger/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
./config.nix
|
||||
./ranger.nix
|
||||
];
|
||||
}
|
||||
3
modules/home/ranger/ranger.nix
Normal file
3
modules/home/ranger/ranger.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{...}: {
|
||||
programs.ranger.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user