# This is a placeholder hardware-configuration.nix file. # # IMPORTANT: Replace this file with your actual hardware-configuration.nix # generated during NixOS installation, typically found at: # /etc/nixos/hardware-configuration.nix # # To generate a new hardware configuration, run: # sudo nixos-generate-config --show-hardware-config > hardware-configuration.nix # # This placeholder will NOT work for actual system builds - the UUIDs below # are placeholders that must be replaced with your actual disk UUIDs. { config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; # Example boot configuration (replace with your actual hardware) boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; # IMPORTANT: Replace these UUIDs with your actual disk UUIDs # Find your UUIDs with: lsblk -f fileSystems."/" = { device = "/dev/disk/by-uuid/REPLACE-WITH-YOUR-ROOT-UUID"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/REPLACE-WITH-YOUR-BOOT-UUID"; fsType = "vfat"; }; swapDevices = [ { device = "/dev/disk/by-uuid/REPLACE-WITH-YOUR-SWAP-UUID"; } ]; # CPU microcode updates for AMD hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }