52 lines
829 B
Nix
52 lines
829 B
Nix
{
|
|
pkgs,
|
|
modulesPath,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
|
];
|
|
|
|
users.users.root = {
|
|
initialPassword = "password";
|
|
};
|
|
|
|
nix.settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
services.openssh.enable = true;
|
|
|
|
# supported filesystems
|
|
boot.supportedFilesystems = lib.mkForce [
|
|
"btrfs"
|
|
"reiserfs"
|
|
"vfat"
|
|
"f2fs"
|
|
"xfs"
|
|
"ntfs"
|
|
"cifs"
|
|
];
|
|
|
|
# use the latest Linux kernel
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
boot.initrd.availableKernelModules = [
|
|
"nvme"
|
|
"ahci"
|
|
"thunderbolt"
|
|
"xhci_pci"
|
|
"usbhid"
|
|
"usb_storage"
|
|
"sd_mod"
|
|
];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [
|
|
"kvm-amd"
|
|
"iwlwifi"
|
|
];
|
|
boot.extraModulePackages = [ ];
|
|
}
|