infra/puter/000-bm-nixos-kirakira/specific-aspect/hardware-scan.nix

44 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2025-12-01 13:23:24 +07:00
{
den.aspects = {
kirakira = {
nixos =
# ----- configuration-hardware. generated, do not change
{ config, lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"vmd"
"xhci_pci"
"ahci"
"nvme"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/0edb145c-5843-4cb2-b6ff-3589958fca15";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/DF8F-3E3A";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [ ];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};
};
};
}