From 7f42c36a76f11ef2bfc4ae8074d9f41f27dc5227 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sun, 21 Jul 2024 11:08:49 +0200 Subject: [PATCH] tadpole: Use `vim` as `EDITOR` --- hosts/tadpole/configuration.nix | 6 ++++-- hosts/tadpole/home.nix | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/hosts/tadpole/configuration.nix b/hosts/tadpole/configuration.nix index 3dcf2b4..bd5c06d 100644 --- a/hosts/tadpole/configuration.nix +++ b/hosts/tadpole/configuration.nix @@ -26,8 +26,10 @@ packages = []; }; - environment.systemPackages = with pkgs; [ - vim + environment.variables.EDITOR = "vim"; + + environment.systemPackages = [ + pkgs.vim ]; config-manager = { diff --git a/hosts/tadpole/home.nix b/hosts/tadpole/home.nix index d7b0bc6..aee7b79 100644 --- a/hosts/tadpole/home.nix +++ b/hosts/tadpole/home.nix @@ -16,7 +16,8 @@ home.packages = [ pkgs.git pkgs.tig - ]; + pkgs.vim + ]; home.stateVersion = "24.05"; };