From 06bad193c33e1ced898712be19581c7f40822c23 Mon Sep 17 00:00:00 2001 From: "Agatha V. Lovelace" Date: Fri, 29 Sep 2023 15:03:50 +0200 Subject: [PATCH] Move text editor variable to editor config --- common/default.nix | 3 --- common/home_manager/helix.nix | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/default.nix b/common/default.nix index e979be4..e107561 100644 --- a/common/default.nix +++ b/common/default.nix @@ -37,9 +37,6 @@ environment.enableAllTerminfo = true; environment.variables.COLORTERM = "truecolor"; - # Set editor - environment.variables.EDITOR = "hx"; - # Packages used on all systems environment.systemPackages = with pkgs; [ comma diff --git a/common/home_manager/helix.nix b/common/home_manager/helix.nix index 91ccc21..50b4ade 100644 --- a/common/home_manager/helix.nix +++ b/common/home_manager/helix.nix @@ -1,4 +1,7 @@ { pkgs, lib, ... }: { + # Set editor + environment.variables.EDITOR = "hx"; + home-manager.users.agatha = { # Formatters/Language Servers that Helix uses home.packages = with pkgs; [ nixfmt ];