26 lines
831 B
Nix
26 lines
831 B
Nix
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||
# and may be overwritten by future invocations. Please make changes
|
||
# to /etc/nixos/configuration.nix instead.
|
||
{ config, lib, pkgs, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||
];
|
||
|
||
boot.loader.grub.extraConfig = "
|
||
serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
|
||
terminal_input serial
|
||
terminal_output serial
|
||
";
|
||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "ehci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-amd" "virtio" "tun" ];
|
||
boot.extraModulePackages = [ ];
|
||
boot.kernelParams = [ "console=ttyS0,115200n8" ];
|
||
|
||
hardware.cpu.amd.updateMicrocode = true;
|
||
|
||
|
||
nix.maxJobs = lib.mkDefault 4;
|
||
}
|