feat: made helix the default editor

This commit is contained in:
Nick 2025-10-03 01:50:42 -05:00
parent be3e8e10e2
commit 2b80fa8a3a

View file

@ -1,4 +1,9 @@
{ pkgs, flake, ... }: {
pkgs,
flake,
lib,
...
}:
let let
inherit (flake.config.people) user0; inherit (flake.config.people) user0;
in in
@ -15,11 +20,12 @@ in
just just
virt-manager virt-manager
imagemagick imagemagick
helix
; ;
}; };
variables = { variables = {
VIDEO_PLAYER = "mpv"; VIDEO_PLAYER = "mpv";
EDITOR = "hx"; EDITOR = lib.getExe pkgs.helix;
TERM = "ghostty"; TERM = "ghostty";
XDG_DOWNLOAD_DIR = "/home/${user0}/downloads"; XDG_DOWNLOAD_DIR = "/home/${user0}/downloads";
NIXPKGS_ALLOW_INSECURE = "1"; NIXPKGS_ALLOW_INSECURE = "1";