xin/hosts/tv/hardware-configuration.nix

49 lines
1.5 KiB
Nix
Raw Normal View History

# 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.
2024-05-27 21:12:29 -06:00
{ config, lib, modulesPath, ... }:
{
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
initrd = {
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "usbhid" "sd_mod" ];
2024-05-27 21:12:29 -06:00
kernelModules = [ ];
};
kernelModules = [ "kvm-intel" ];
2024-05-27 21:12:29 -06:00
extraModulePackages = [ ];
};
fileSystems."/" =
{
device = "/dev/disk/by-uuid/9833387e-b5d9-4e77-8891-7829a0e83954";
2024-05-27 21:12:29 -06:00
fsType = "ext4";
};
fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/B185-050E";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
2024-05-27 21:12:29 -06:00
swapDevices = [ ];
# 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`.
2024-05-27 21:12:29 -06:00
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s13f0u3.useDHCP = lib.mkDefault true;
2024-05-27 21:12:29 -06:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware = {
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
bluetooth.enable = true;
};
2024-05-27 21:12:29 -06:00
}