swap to helix + reformat

This commit is contained in:
serenity-F 2026-08-30 21:57:18 +10:00
parent 11962af1a0
commit 286f58b614
No known key found for this signature in database
5 changed files with 70 additions and 20 deletions

View file

@ -0,0 +1,49 @@
{ self, inputs, ... }: {
flake.modules.homeManager.helix = {
programs.helix = {
enable = true; # enables helix
settings = {
# cursor settings
editor.cursor-shape = {
normal = "underline";
insert = "bar";
select = "block";
};
# declare theme to use
theme = "onedarker_transparent";
};
# list of themes
themes = {
# modified theme
onedarker_transparent = {
"inherits" = "onedarker";
"ui.background" = { };
};
};
# lsp settings
languages = {
# nix
language = [
{
name = "nix";
auto-format = true;
formatter.command = lib.getExe pkgs.nxfmt;
}
];
};
};
};
}

View file

@ -1,13 +0,0 @@
{ self, inputs, ... }: {
perSystem = { pkgs, ... }: {
packages.myYazi = inputs.wrapper-modules.wrappers.yazi.wrap {
settings = {
foo = bar;
};
};
};
}