about summary refs log tree commit diff
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2017-01-18 17:54:42 +0100
committerRobin Gloster <mail@glob.in>2017-01-18 17:57:31 +0100
commitf4f4200d9ad497efaf4366cfb95112aee20cc32e (patch)
tree63db7aae415edd5a7e92ff54d3df69ed71f321f2 /nixos/modules/profiles
parent460b43dbfe8f21253637be350eb1ef1d586eaf5e (diff)
downloadnixlib-f4f4200d9ad497efaf4366cfb95112aee20cc32e.tar
nixlib-f4f4200d9ad497efaf4366cfb95112aee20cc32e.tar.gz
nixlib-f4f4200d9ad497efaf4366cfb95112aee20cc32e.tar.bz2
nixlib-f4f4200d9ad497efaf4366cfb95112aee20cc32e.tar.lz
nixlib-f4f4200d9ad497efaf4366cfb95112aee20cc32e.tar.xz
nixlib-f4f4200d9ad497efaf4366cfb95112aee20cc32e.tar.zst
nixlib-f4f4200d9ad497efaf4366cfb95112aee20cc32e.zip
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)
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/installation-device.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index 7949e600f86a..b2973d88b157 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 ];
   };
 }