Helix: Difference between revisions
Line 8: | Line 8: | ||
=== With Home Manager === | === With Home Manager === | ||
[[Home Manager]] provides a module for configuring helix. | [[Home Manager]] provides a module for configuring helix. | ||
<syntaxhighlight lang=nix> | <syntaxhighlight lang="nix"> | ||
programs.helix = { | programs.helix = { | ||
enable = true; | enable = true; | ||
Line 22: | Line 22: | ||
name = "nix"; | name = "nix"; | ||
auto-format = true; | auto-format = true; | ||
formatter.command = | formatter.command = lib.getExe pkgs.nixfmt-rfc-style; | ||
}]; | }]; | ||
themes = { | themes = { |