Nix-Hyprland/nixos/hardware-configuration.nix

34 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2024-04-16 20:52:14 -04: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 =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
2024-05-21 06:37:47 -04:00
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
2024-04-16 20:52:14 -04:00
boot.initrd.kernelModules = [ ];
2024-05-21 06:37:47 -04:00
boot.kernelModules = [ "kvm-intel" ];
2024-04-16 20:52:14 -04:00
boot.extraModulePackages = [ ];
fileSystems."/" =
2024-05-21 06:37:47 -04:00
{ device = "/dev/disk/by-uuid/a751720d-df78-43c3-bc1e-fabdc168fbc2";
2024-04-16 20:52:14 -04:00
fsType = "ext4";
};
2024-05-21 06:37:47 -04:00
swapDevices = [ ];
2024-04-16 20:52:14 -04: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;
2024-05-21 06:37:47 -04:00
# networking.interfaces.enp0s20f0u1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
2024-04-16 20:52:14 -04:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
2024-05-21 06:37:47 -04:00
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2024-04-16 20:52:14 -04:00
}