nix/hardware-configuration.nix

36 lines
933 B
Nix
Raw Permalink Normal View History

2026-02-22 19:59:14 -06: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-02-23 12:15:31 +10:00
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
2026-02-22 19:59:14 -06:00
2026-02-23 12:15:31 +10:00
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "ahci" "usbhid"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
2026-02-22 19:59:14 -06:00
2026-02-23 12:15:31 +10:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/10c61ccc-e175-4cfd-bd6a-08a57dbdb0b5";
fsType = "btrfs";
};
2026-02-22 19:59:14 -06:00
2026-02-23 12:15:31 +10:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/24E3-BA29";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};
2026-02-22 19:59:14 -06:00
2026-02-23 12:15:31 +10:00
swapDevices = [];
2026-02-22 19:59:14 -06:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}