mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 19:46:20 +00:00
20 lines
404 B
Nix
20 lines
404 B
Nix
{ lib, config, ... }:
|
|
let
|
|
cfg = config.presets.base.minimap;
|
|
in
|
|
{
|
|
options.presets.base.minimap = {
|
|
enable = lib.mkEnableOption "minimap";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
globals = {
|
|
minimap_width = 10;
|
|
minimap_auto_start = 1;
|
|
minimap_auto_start_win_enter = 1;
|
|
minimap_close_buftypes = [ "nofile" ];
|
|
minimap_block_filetypes = [ "NvimTree" ];
|
|
};
|
|
};
|
|
}
|