feat: changed home-manager to home

This commit is contained in:
Nick 2024-11-20 18:57:43 -06:00
parent 6196e80d62
commit 1ebb8a8ed3
257 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,31 @@
{
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";
}
];
};
}

View file

@ -0,0 +1,24 @@
{
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";
};
}

11
home/modules/helix/default.nix Executable file
View file

@ -0,0 +1,11 @@
{pkgs, ...}: {
programs.helix = let
configPath = ./config;
in
{
enable = true;
package = pkgs.helix;
}
// (import (configPath + /languages.nix))
// (import (configPath + /settings.nix));
}