2011-11-08 17:17:37 +01:00
|
|
|
# This module defines the software packages included in the "minimal"
|
|
|
|
# installation CD. It might be useful elsewhere.
|
|
|
|
|
2011-11-08 16:58:59 +01:00
|
|
|
{ config, pkgs, ... }:
|
2010-09-25 11:32:27 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
# Include some utilities that are useful for installing or repairing
|
|
|
|
# the system.
|
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.w3m # needed for the manual anyway
|
|
|
|
pkgs.testdisk # useful for repairing boot problems
|
|
|
|
pkgs.mssys # for writing Microsoft boot sectors / MBRs
|
2015-01-07 10:51:53 +01:00
|
|
|
pkgs.efibootmgr
|
|
|
|
pkgs.efivar
|
2010-09-25 11:32:27 +02:00
|
|
|
pkgs.parted
|
2011-09-17 15:09:38 +02:00
|
|
|
pkgs.gptfdisk
|
2010-09-25 11:32:27 +02:00
|
|
|
pkgs.ddrescue
|
|
|
|
pkgs.ccrypt
|
|
|
|
pkgs.cryptsetup # needed for dm-crypt volumes
|
|
|
|
|
|
|
|
# Some networking tools.
|
2011-07-13 14:18:23 +02:00
|
|
|
pkgs.fuse
|
2010-09-25 11:32:27 +02:00
|
|
|
pkgs.sshfsFuse
|
|
|
|
pkgs.socat
|
|
|
|
pkgs.screen
|
|
|
|
|
|
|
|
# Hardware-related tools.
|
|
|
|
pkgs.sdparm
|
|
|
|
pkgs.hdparm
|
|
|
|
pkgs.dmraid
|
2011-08-02 08:53:09 +02:00
|
|
|
pkgs.smartmontools # for diagnosing hard disks
|
2015-04-19 22:14:57 +02:00
|
|
|
pkgs.pciutils
|
|
|
|
pkgs.usbutils
|
2010-09-25 11:32:27 +02:00
|
|
|
|
|
|
|
# Tools to create / manipulate filesystems.
|
|
|
|
pkgs.ntfsprogs # for resizing NTFS partitions
|
|
|
|
pkgs.dosfstools
|
|
|
|
pkgs.xfsprogs
|
|
|
|
pkgs.jfsutils
|
2014-03-25 21:39:10 +01:00
|
|
|
pkgs.f2fs-tools
|
2010-09-25 11:32:27 +02:00
|
|
|
|
|
|
|
# Some compression/archiver tools.
|
|
|
|
pkgs.unzip
|
|
|
|
pkgs.zip
|
|
|
|
pkgs.dar # disk archiver
|
2011-11-08 20:02:28 +01:00
|
|
|
pkgs.cabextract
|
2010-09-25 11:32:27 +02:00
|
|
|
];
|
2012-03-09 15:37:58 +01:00
|
|
|
|
|
|
|
# Include support for various filesystems.
|
2015-09-18 12:52:41 +02:00
|
|
|
boot.supportedFilesystems = [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "zfs" "ntfs" "cifs" ];
|
2012-03-09 15:37:58 +01:00
|
|
|
|
2015-04-28 17:15:02 +02:00
|
|
|
# Configure host id for ZFS to work
|
|
|
|
networking.hostId = "8425e349";
|
2010-09-25 11:32:27 +02:00
|
|
|
}
|