Helix: simplified config
This commit is contained in:
parent
4aafcada3c
commit
924986f1c1
1 changed files with 108 additions and 111 deletions
|
|
@ -1,15 +1,13 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
home = {
|
home = {
|
||||||
sessionVariables = { EDITOR = "hx"; VISUAL = "hx"; };
|
sessionVariables = { EDITOR = "hx"; VISUAL = "hx"; };
|
||||||
|
shellAliases = { x = "hx"; };
|
||||||
packages = builtins.attrValues {
|
packages = builtins.attrValues {
|
||||||
inherit (pkgs) nil; # Nix language server
|
inherit (pkgs) nil; # Nix language server
|
||||||
# inherit desktopItem;
|
# inherit desktopItem;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs = {
|
programs.helix = {
|
||||||
bash.shellAliases = { x = "hx"; };
|
|
||||||
zsh.shellAliases = { x = "hx"; };
|
|
||||||
helix = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.unstable_pkgs.helix;
|
package = pkgs.unstable_pkgs.helix;
|
||||||
languages.language = [{
|
languages.language = [{
|
||||||
|
|
@ -120,5 +118,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue