Files
nixos/hardware-configuration.nix
T

43 lines
1.5 KiB
Nix
Raw Normal View History

2022-08-13 00:17:46 -05: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")
2022-08-13 00:17:46 -05:00
];
2024-05-05 14:37:58 -05:00
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "uas" "sd_mod" ];
2022-08-13 00:17:46 -05:00
boot.initrd.kernelModules = [ ];
2024-05-05 14:37:58 -05:00
boot.kernelModules = [ "kvm-intel" ];
2022-08-13 00:17:46 -05:00
boot.extraModulePackages = [ ];
fileSystems."/" =
{
device = "/dev/disk/by-uuid/607b933f-2967-4652-b478-4d8e9aa38a0d";
2024-05-05 14:37:58 -05:00
fsType = "btrfs";
options = [ "subvol=@" ];
2022-08-13 00:17:46 -05:00
};
2024-05-05 14:37:58 -05:00
fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/B31C-C1F4";
2024-05-05 14:37:58 -05:00
fsType = "vfat";
};
swapDevices = [ ];
2022-08-13 00:17:46 -05: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-05 14:37:58 -05:00
# networking.interfaces.enp0s13f0u1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp170s0.useDHCP = lib.mkDefault true;
2022-08-13 00:17:46 -05:00
2023-09-02 20:07:31 -05:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
2024-05-05 14:37:58 -05:00
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2022-08-13 00:17:46 -05:00
}