mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
feat: changed home-manager to home
This commit is contained in:
parent
6196e80d62
commit
1ebb8a8ed3
257 changed files with 1 additions and 1 deletions
31
home/modules/helix/config/languages.nix
Normal file
31
home/modules/helix/config/languages.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
24
home/modules/helix/config/settings.nix
Normal file
24
home/modules/helix/config/settings.nix
Normal 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
11
home/modules/helix/default.nix
Executable 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));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue