# PLACEHOLDER — replaced on install. # # disko (disk-config.nix) owns "/" and "/boot", so this file only carries # kernel modules + platform. nixos-anywhere regenerates it via: # nixos-generate-config --no-filesystems # Standard AMD desktop (SATA SSD, NVMe present but unused) — the generator # should get ahci/nvme right on its own; these are a sane fallback so stage-1 # still mounts root if it doesn't. { config, lib, pkgs, modulesPath, ... }: { boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "nvme" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; # NO fileSystems here — disko defines "/" and "/boot". swapDevices = [ ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }