mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 18:42:15 +00:00
ddd480ac30
This reverts commit e8e8164f34
. I
misread the original commit as adding the "which" package, but it only
adds it to base.nix. So then the original motivation (making it work
in subshells) doesn't hold. Note that we already have some convenience
aliases that don't work in subshells either (such as "ll").
55 lines
1.3 KiB
Nix
55 lines
1.3 KiB
Nix
# This module defines the software packages included in the "minimal"
|
|
# installation CD. It might be useful elsewhere.
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
# 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
|
|
pkgs.efibootmgr
|
|
pkgs.efivar
|
|
pkgs.parted
|
|
pkgs.gptfdisk
|
|
pkgs.ddrescue
|
|
pkgs.ccrypt
|
|
pkgs.cryptsetup # needed for dm-crypt volumes
|
|
|
|
# Some networking tools.
|
|
pkgs.fuse
|
|
pkgs.sshfsFuse
|
|
pkgs.socat
|
|
pkgs.screen
|
|
|
|
# Hardware-related tools.
|
|
pkgs.sdparm
|
|
pkgs.hdparm
|
|
pkgs.dmraid
|
|
pkgs.smartmontools # for diagnosing hard disks
|
|
pkgs.pciutils
|
|
pkgs.usbutils
|
|
|
|
# Tools to create / manipulate filesystems.
|
|
pkgs.ntfsprogs # for resizing NTFS partitions
|
|
pkgs.dosfstools
|
|
pkgs.xfsprogs
|
|
pkgs.jfsutils
|
|
pkgs.f2fs-tools
|
|
|
|
# Some compression/archiver tools.
|
|
pkgs.unzip
|
|
pkgs.zip
|
|
pkgs.dar # disk archiver
|
|
pkgs.cabextract
|
|
];
|
|
|
|
# Include support for various filesystems.
|
|
boot.supportedFilesystems = [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "zfs" "ntfs" "cifs" ];
|
|
|
|
# Configure host id for ZFS to work
|
|
networking.hostId = lib.mkDefault "8425e349";
|
|
}
|