mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add helix and cli tools
This commit is contained in:
parent
31ffdc94e8
commit
9cdce8f2fa
3 changed files with 48 additions and 1 deletions
26
modules/home/terminal/development.nix
Normal file
26
modules/home/terminal/development.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
options.mods.terminal.development.enable =
|
||||
lib.mkEnableOption "enables cli editor";
|
||||
|
||||
config = lib.mkIf config.mods.terminal.development.enable {
|
||||
# home.packages = with pkgs; [];
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
|
||||
settings.editor = {
|
||||
line-number = "relative";
|
||||
scrolloff = 5;
|
||||
completion-replace = true;
|
||||
bufferline = "always";
|
||||
rulers = [80];
|
||||
soft-wrap.enable = true;
|
||||
indent-guides.render = true;
|
||||
cursor-shape = {
|
||||
normal = "block";
|
||||
insert = "bar";
|
||||
select = "underline";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue