Set EDITOR and add nix-diff

This commit is contained in:
Rodrigo Arias 2023-04-11 20:36:54 +02:00
parent 0ca649b715
commit 93a37b8353

View File

@ -29,10 +29,15 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim wget git htop tmux pciutils tcpdump ripgrep nix-index nixos-option 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 <agenix/pkgs/agenix.nix> {}) (pkgs.callPackage <agenix/pkgs/agenix.nix> {})
]; ];
environment.variables = {
EDITOR = "vim";
VISUAL = "vim";
};
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.sandbox = "relaxed"; nix.settings.sandbox = "relaxed";
nix.gc.automatic = true; nix.gc.automatic = true;