nix-configurations/hosts/lkk-prod-1/hardware-configuration.nix

40 lines
1.5 KiB
Nix
Raw Normal View History

2023-02-28 14:26:31 +00:00
# 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, modulesPath, ... }:
{
imports =
2023-03-14 12:22:16 +00:00
[ (modulesPath + "/hardware/network/broadcom-43xx.nix")
(modulesPath + "/installer/scan/not-detected.nix")
2023-02-28 14:26:31 +00:00
];
2023-03-14 12:22:16 +00:00
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ];
2023-02-28 14:26:31 +00:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2023-03-14 12:22:16 +00:00
{ device = "/dev/disk/by-uuid/88887b78-5a75-49cf-991d-7a3c8f813799";
2023-02-28 14:26:31 +00:00
fsType = "ext4";
};
2023-03-14 12:22:16 +00:00
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/67E3-17ED";
fsType = "vfat";
};
swapDevices = [ ];
2023-02-28 14:26:31 +00:00
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
2023-03-14 12:22:16 +00:00
# networking.interfaces.enp3s0f0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
2023-02-28 14:26:31 +00:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}