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

48 lines
1,007 B
Nix
Raw Normal View History

2026-01-08 22:14:01 -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-09 13:26:43 -05:00
{
config,
lib,
pkgs,
modulesPath,
...
}:
2026-01-08 22:14:01 -05:00
{
2026-01-09 13:26:43 -05:00
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
2026-01-08 22:14:01 -05:00
2026-01-09 13:26:43 -05:00
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
];
2026-01-08 22:14:01 -05:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
2026-01-09 13:26:43 -05:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/f66916c1-a834-4fb4-9ded-ee04d3650baf";
fsType = "ext4";
};
2026-01-08 22:14:01 -05:00
2026-01-09 13:26:43 -05:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/E474-7CAD";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
2026-01-08 22:14:01 -05:00
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}