dotfiles.nix/nixos/profiles/live-image.nix
willemml f58f4b0911
Removes unused packages
Also removes packages that are not required for normal system use or
that should instead be installed in dev shells rather than systemwide.
2023-11-23 20:34:34 -08:00

54 lines
942 B
Nix

{
pkgs,
lib,
config,
modulesPath,
...
}: {
imports = [
(modulesPath + "/profiles/minimal.nix")
(modulesPath + "/installer/cd-dvd/iso-image.nix")
(modulesPath + "/profiles/installation-device.nix")
./default.nix
];
environment.systemPackages = with pkgs; [
curl
ddrescue
efibootmgr
efivar
fuse
fuse3
git
gptfdisk
hdparm
ms-sys
nano
nvme-cli
parted
pciutils
screen
sdparm
smartmontools
socat
sshfs-fuse
testdisk
unzip
usbutils
w3m-nographics
zip
];
# Include support for various filesystems and tools to create / manipulate them.
boot.supportedFilesystems = ["ntfs" "vfat" "xfs"];
boot.enableContainers = false;
# get rid of mdadm warning
boot.swraid.mdadmConf = ''
PROGRAM ${pkgs.coreutils}/bin/true
'';
# Configure host id for ZFS to work
networking.hostId = lib.mkDefault "deadbeef";
}