mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
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
|
|
wget
|
|
w3m-nographics
|
|
zip
|
|
];
|
|
|
|
# Include support for various filesystems and tools to create / manipulate them.
|
|
boot.supportedFilesystems =
|
|
["btrfs" "cifs" "f2fs" "jfs" "ntfs" "reiserfs" "vfat" "xfs"]
|
|
++ lib.optional (lib.meta.availableOn pkgs.stdenv.hostPlatform config.boot.zfs.package) "zfs";
|
|
|
|
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";
|
|
}
|