mirror of
https://codeberg.org/privacy1st/nixos-anywhere-example
synced 2025-01-22 06:35:45 +01:00
17 lines
528 B
Nix
17 lines
528 B
Nix
|
{ config, lib, pkgs, modulesPath, ... }:
|
||
|
{
|
||
|
imports = [
|
||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||
|
];
|
||
|
|
||
|
boot.initrd.availableKernelModules = ["xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
|
||
|
boot.initrd.kernelModules = [];
|
||
|
boot.kernelModules = ["kvm-intel"];
|
||
|
boot.extraModulePackages = [];
|
||
|
|
||
|
networking.useDHCP = lib.mkDefault true;
|
||
|
|
||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
|
}
|