nixos-config/hosts/desktop/katmai/hardware-configuration.nix

40 lines
1.5 KiB
Nix
Raw Permalink Normal View History

2024-03-19 08:04:49 -07: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-03-22 11:18:50 -07:00
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
2024-03-19 08:04:49 -07:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2024-03-22 11:18:50 -07:00
{ device = "/dev/disk/by-uuid/7c747da5-2aed-4bfd-b24a-0ae6f27b7dbd";
2024-03-19 08:04:49 -07:00
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/home" =
2024-03-22 11:18:50 -07:00
{ device = "/dev/disk/by-uuid/9e71ba51-384d-47f1-a9f1-27adacbb2d9d";
fsType = "ext4";
2024-03-19 08:04:49 -07: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`.
networking.useDHCP = lib.mkDefault true;
2024-03-22 11:18:50 -07:00
# networking.interfaces.enp0s25.useDHCP = lib.mkDefault true;
2024-03-19 08:04:49 -07:00
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}