mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Add Helix
This commit is contained in:
parent
ddd042a0dc
commit
8c5379fb22
2 changed files with 26 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -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/
|
||||||
|
|
25
machines/asus/helix/default.nix
Normal file
25
machines/asus/helix/default.nix
Normal 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 = "→";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue