1# This module defines the software packages included in the "minimal"
2# installation CD. It might be useful elsewhere.
3
4{ lib, pkgs, ... }:
5
6{
7 # Include some utilities that are useful for installing or repairing
8 # the system.
9 environment.systemPackages = [
10 pkgs.w3m-nographics # needed for the manual anyway
11 pkgs.testdisk # useful for repairing boot problems
12 pkgs.ms-sys # for writing Microsoft boot sectors / MBRs
13 pkgs.efibootmgr
14 pkgs.efivar
15 pkgs.parted
16 pkgs.gptfdisk
17 pkgs.ddrescue
18 pkgs.ccrypt
19 pkgs.cryptsetup # needed for dm-crypt volumes
20 pkgs.mkpasswd # for generating password files
21
22 # Some text editors.
23 pkgs.vim
24
25 # Some networking tools.
26 pkgs.fuse
27 pkgs.fuse3
28 pkgs.sshfs-fuse
29 pkgs.rsync
30 pkgs.socat
31 pkgs.screen
32
33 # Hardware-related tools.
34 pkgs.sdparm
35 pkgs.hdparm
36 pkgs.smartmontools # for diagnosing hard disks
37 pkgs.pciutils
38 pkgs.usbutils
39
40 # Tools to create / manipulate filesystems.
41 pkgs.ntfsprogs # for resizing NTFS partitions
42 pkgs.dosfstools
43 pkgs.mtools
44 pkgs.xfsprogs.bin
45 pkgs.jfsutils
46 pkgs.f2fs-tools
47
48 # Some compression/archiver tools.
49 pkgs.unzip
50 pkgs.zip
51 ];
52
53 # Include support for various filesystems.
54 boot.supportedFilesystems = [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "zfs" "ntfs" "cifs" ];
55
56 # Configure host id for ZFS to work
57 networking.hostId = lib.mkDefault "8425e349";
58}