1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Add Helix

This commit is contained in:
RGBCube 2023-05-12 22:04:04 +03:00
parent ddd042a0dc
commit 8c5379fb22
2 changed files with 26 additions and 0 deletions

1
.gitignore vendored
View file

@ -6,6 +6,7 @@
!machines/asus/docker/ !machines/asus/docker/
!machines/asus/firefox/ !machines/asus/firefox/
!machines/asus/git/ !machines/asus/git/
!machines/asus/helix/
!machines/asus/intellij/ !machines/asus/intellij/
!machines/asus/libreoffice/ !machines/asus/libreoffice/
!machines/asus/neovim/ !machines/asus/neovim/

View file

@ -0,0 +1,25 @@
{ lib, pkgs, systemConfiguration, homeConfiguration, packages, enabled, projectPath, ... }:
homeConfiguration "nixos" {
programs.helix = enabled {
settings.editor = {
auto-pairs."<" = ">";
auto-pairs."`" = "`";
auto-save = true;
color-modes = true;
cursor-shape.normal = "bar";
cursorline = true;
file-picker.hidden = false;
indent-guides.render = true;
indent-guides.character = "";
indent-guides.skip-levels = 1;
line-number = "relative";
shell = [ "nu" "-c" ];
text-width = 100;
whitespace.render.space = "all";
whitespace.render.tab = "all";
whitespace.characters.space = "p";
whitespace.characters.tab = "";
};
};
}