28 lines
711 B
Nix
28 lines
711 B
Nix
# Hardware configuration for amzebs-01
|
|
# This is a template - update with actual hardware configuration after installation
|
|
{ modulesPath, ... }:
|
|
{
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
|
|
|
boot.loader.grub = {
|
|
efiSupport = true;
|
|
efiInstallAsRemovable = true;
|
|
device = "nodev";
|
|
configurationLimit = 2;
|
|
};
|
|
|
|
# Update these with actual device UUIDs and paths after installation
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/CHANGEME";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
fileSystems."/" = {
|
|
device = "/dev/sda1";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ];
|
|
boot.initrd.kernelModules = [ "nvme" ];
|
|
}
|