From 93a37b8353ae9427f817ac0a23350edae59b7f75 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Tue, 11 Apr 2023 20:36:54 +0200 Subject: [PATCH] Set EDITOR and add nix-diff --- configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 9a51528..e7fe0ec 100644 --- a/configuration.nix +++ b/configuration.nix @@ -29,10 +29,15 @@ environment.systemPackages = with pkgs; [ vim wget git htop tmux pciutils tcpdump ripgrep nix-index nixos-option - ipmitool freeipmi ethtool lm_sensors + nix-diff ipmitool freeipmi ethtool lm_sensors (pkgs.callPackage {}) ]; + environment.variables = { + EDITOR = "vim"; + VISUAL = "vim"; + }; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.sandbox = "relaxed"; nix.gc.automatic = true;