Helix: simplified config

This commit is contained in:
Filippo Berto 2023-12-12 00:03:01 +01:00
parent 4aafcada3c
commit 924986f1c1
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -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 @@
}; };
}; };
}; };
};
} }