1
0
Fork 0
forked from dea/dea-files
flake-dea/hosts/nahemah/hardware-configuration.nix

55 lines
1.5 KiB
Nix
Raw Normal View History

2026-01-07 14:32:28 -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.
2026-01-08 13:39:02 -05:00
{
config,
lib,
pkgs,
modulesPath,
...
}:
2026-01-07 14:32:28 -05:00
{
2026-01-08 13:39:02 -05:00
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
2026-01-07 14:32:28 -05:00
2026-01-08 13:39:02 -05:00
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usb_storage"
"sd_mod"
];
2026-01-07 14:32:28 -05:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2026-01-08 13:39:02 -05:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/65e009d8-9c86-4f18-bcc5-c2d1f8f7bcf4";
fsType = "ext4";
};
2026-01-07 14:32:28 -05:00
2026-01-08 13:39:02 -05:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/FDAB-D19E";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
2026-01-07 14:32:28 -05: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;
# networking.interfaces.enp3s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}