From b0b559efa1b77fcf268aaa7507cb4646c3786bbb Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Fri, 16 Jun 2023 14:33:48 +0200 Subject: [PATCH] Set default EDITOR --- nixos-configurations/shared.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos-configurations/shared.nix b/nixos-configurations/shared.nix index 4a3762f..56cbd59 100644 --- a/nixos-configurations/shared.nix +++ b/nixos-configurations/shared.nix @@ -235,7 +235,10 @@ }; }; home = { - sessionVariables.NIXOS_OZONE_WL = "1"; + sessionVariables = { + NIXOS_OZONE_WL = "1"; + EDITOR = "hx"; + }; stateVersion = "22.11"; packages = with pkgs; [ libreoffice