swap to helix + reformat
This commit is contained in:
parent
11962af1a0
commit
286f58b614
5 changed files with 70 additions and 20 deletions
49
modules/home/terminal/helix.nix
Normal file
49
modules/home/terminal/helix.nix
Normal 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;
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
{ self, inputs, ... }: {
|
||||
|
||||
perSystem = { pkgs, ... }: {
|
||||
|
||||
packages.myYazi = inputs.wrapper-modules.wrappers.yazi.wrap {
|
||||
settings = {
|
||||
foo = bar;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue