Joe Hanson
6a278729f8
* reduce, reuse, refine * more refining and replacing * More refining * Removing unused code such as homepage and traefik * Remove homepage references.
31 lines
No EOL
822 B
Nix
31 lines
No EOL
822 B
Nix
{ config, lib, pkgs, imports, boot, ... }:
|
|
{
|
|
boot = {
|
|
# Use the systemd-boot EFI boot loader.
|
|
loader = {
|
|
systemd-boot = {
|
|
enable = true;
|
|
};
|
|
efi = {
|
|
canTouchEfiVariables = true;
|
|
};
|
|
};
|
|
# Kernel mods
|
|
initrd = {
|
|
availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
|
|
kernelModules = [ ];
|
|
};
|
|
kernelModules = [ "kvm-intel" ];
|
|
extraModulePackages = [ ];
|
|
};
|
|
|
|
networking = {
|
|
useDHCP = lib.mkDefault true;
|
|
hostId = "ad4380db";
|
|
};
|
|
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
|
|
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
} |