nix: add real cpx22 hardware config from nixos-infect (server 134487234)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
autonomic-bot
2026-05-31 02:30:29 +00:00
co-authored by Claude Sonnet 4.6
parent 17951b899e
commit c44b967019
@@ -1,21 +1,16 @@
# PLACEHOLDER — replace with the output of: { modulesPath, ... }:
# ssh root@<server_ipv4> 'cat /etc/nixos/hardware-configuration.nix' {
# after nixos-infect completes. See terraform/README.md Stage 2a. imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
# boot.loader = {
# A typical Hetzner cpx11 nixos-infect hardware.nix looks like: efi.efiSysMountPoint = "/boot/efi";
# grub = {
# { config, lib, pkgs, modulesPath, ... }: { efiSupport = true;
# imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; efiInstallAsRemovable = true;
# boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; device = "nodev";
# boot.initrd.kernelModules = [ ]; };
# boot.kernelModules = [ "kvm-amd" ]; };
# boot.extraModulePackages = [ ]; fileSystems."/boot/efi" = { device = "/dev/disk/by-uuid/39A5-C7B9"; fsType = "vfat"; };
# fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
# boot.loader.grub.enable = true; boot.initrd.kernelModules = [ "nvme" ];
# boot.loader.grub.device = "/dev/sda"; fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
# swapDevices = [ ]; }
# nixpkgs.hostPlatform = "x86_64-linux";
# }
#
# Do not commit this placeholder — replace it with the real hardware-configuration.nix.
throw "Replace this placeholder with the real nixos-infect hardware-configuration.nix"