From 2e956f2ddd0c4348706f123e23fbb3db7e255860 Mon Sep 17 00:00:00 2001 From: Nettika Date: Mon, 23 Sep 2024 16:20:51 -0700 Subject: [PATCH] Move lightweight editor config to common module --- hosts/marauder/dev.nix | 1 - modules/common.nix | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/marauder/dev.nix b/hosts/marauder/dev.nix index 7f62e94..768e005 100644 --- a/hosts/marauder/dev.nix +++ b/hosts/marauder/dev.nix @@ -1,7 +1,6 @@ { pkgs, ... }: { environment.variables = { - EDITOR = "nano"; VISUAL = "code --wait"; }; diff --git a/modules/common.nix b/modules/common.nix index 799ae48..4f242fc 100755 --- a/modules/common.nix +++ b/modules/common.nix @@ -14,6 +14,10 @@ security.sudo.wheelNeedsPassword = false; + environment.variables = { + EDITOR = "nano"; + }; + programs.git = { enable = true; lfs.enable = true;