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, ... }:
{
home = {
sessionVariables = {
EDITOR = "hx";
VISUAL = "hx";
};
shellAliases = {
x = "hx";
};
shellAliases.x = "hx";
packages = builtins.attrValues {
inherit (pkgs) nil; # Nix language server
# inherit desktopItem;
@ -15,6 +9,7 @@
};
programs.helix = {
enable = true;
defaultEditor = true;
languages.language = [
{
name = "nix";