feat: init

This commit is contained in:
Nick 2024-10-06 15:25:05 -05:00
commit c19ea940bd
320 changed files with 23845 additions and 0 deletions

57
home-manager/modules/helix.nix Executable file
View file

@ -0,0 +1,57 @@
{pkgs, ...}: {
programs.helix = {
enable = true;
package = pkgs.helix;
languages = {
language = [
{
auto-format = true;
formatter.command = "alejandra";
name = "nix";
}
{
auto-format = true;
formatter.command = "haskell";
name = "haskell";
}
{
auto-format = true;
formatter.command = "cssfmt";
name = "css";
}
{
auto-format = true;
formatter.command = "yuck";
name = "yuck";
}
{
auto-format = true;
formatter.command = "yamlfmt";
name = "yaml";
}
];
};
settings = {
editor = {
mouse = true;
auto-format = true;
auto-save = true;
line-number = "relative";
lsp = {
display-messages = true;
display-inlay-hints = true;
};
};
keys = {
normal = {
space = {
f = ":format";
q = ":q";
w = ":w";
};
};
};
theme = "catppuccin_macchiato";
};
};
}