summary refs log tree commit diff
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2016-12-28 16:05:30 +0100
committerLluís Batlle i Rossell <viric@viric.name>2016-12-28 16:07:16 +0100
commite0078b2cb536c3af0f820d484f46dc9b83547678 (patch)
tree65b400a758c1e288b80902f3bbc9226c9043a6be
parent897b10998b5953622c475e80518f2788155c91c0 (diff)
downloadnixpkgs-e0078b2cb536c3af0f820d484f46dc9b83547678.tar
nixpkgs-e0078b2cb536c3af0f820d484f46dc9b83547678.tar.gz
nixpkgs-e0078b2cb536c3af0f820d484f46dc9b83547678.tar.bz2
nixpkgs-e0078b2cb536c3af0f820d484f46dc9b83547678.tar.lz
nixpkgs-e0078b2cb536c3af0f820d484f46dc9b83547678.tar.xz
nixpkgs-e0078b2cb536c3af0f820d484f46dc9b83547678.tar.zst
nixpkgs-e0078b2cb536c3af0f820d484f46dc9b83547678.zip
Make the minimal iso not use profile/minimal, +vim
The profile minimal has several drawbacks: no man pages, unusual 'dbus'
lib that makes many X11 pieces to rebuild, etc.

With xz compression in the squashfs, despite these additions, the iso is
smaller than what it was in 16.09.
-rw-r--r--nixos/modules/installer/cd-dvd/installation-cd-minimal.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix b/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
index 4641b8fcf9d..f4122ab0e51 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
@@ -1,11 +1,15 @@
 # This module defines a small NixOS installation CD.  It does not
 # contain any graphical stuff.
 
-{ config, lib, ... }:
+{ config, lib, pkgs, ... }:
 
 {
   imports =
     [ ./installation-cd-base.nix
-      ../../profiles/minimal.nix
+    ];
+
+  environment.systemPackages =
+    [
+      pkgs.vim
     ];
 }