From f4f4200d9ad497efaf4366cfb95112aee20cc32e Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Wed, 18 Jan 2017 17:54:42 +0100 Subject: install-devices: add vim This moves vim to the install-device profile to add vim to netboot, too. Fixes #20013 (see discussion there for further information) --- nixos/modules/installer/cd-dvd/installation-cd-minimal.nix | 5 ----- nixos/modules/profiles/installation-device.nix | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix b/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix index f4122ab0e518b..7ec55f159d0e6 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix @@ -7,9 +7,4 @@ imports = [ ./installation-cd-base.nix ]; - - environment.systemPackages = - [ - pkgs.vim - ]; } diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix index 7949e600f86a7..b2973d88b1570 100644 --- a/nixos/modules/profiles/installation-device.nix +++ b/nixos/modules/profiles/installation-device.nix @@ -76,5 +76,6 @@ with lib; boot.consoleLogLevel = mkDefault 7; networking.firewall.logRefusedConnections = mkDefault false; + environment.systemPackages = [ pkgs.vim ]; }; } -- cgit 1.4.1