update: set default editor

This commit is contained in:
Filippo Berto 2025-10-09 15:16:05 +02:00
parent a6c321bb05
commit e71dce74ff
No known key found for this signature in database
GPG key ID: F1D17F9BCEC62FBC

View file

@ -1,13 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home = { home = {
sessionVariables = { shellAliases.x = "hx";
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;
@ -15,6 +9,7 @@
}; };
programs.helix = { programs.helix = {
enable = true; enable = true;
defaultEditor = true;
languages.language = [ languages.language = [
{ {
name = "nix"; name = "nix";