nixos-config/hosts/boreal/hardware-configuration.nix

35 lines
863 B
Nix
Raw Normal View History

2021-04-16 21:33:48 +02: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.
{
2022-04-10 11:54:58 +02:00
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
2021-04-16 21:33:48 +02:00
2022-04-10 11:54:58 +02:00
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
2021-04-16 21:33:48 +02:00
2022-04-10 11:54:58 +02:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/1a942915-c1ae-4058-b99d-09d12d40dbd3";
fsType = "btrfs";
options = ["subvol=nixos" "compress=zstd:1" "noatime"];
};
2021-04-16 21:33:48 +02:00
2022-04-10 11:54:58 +02:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/17C7-368D";
fsType = "vfat";
};
2021-04-16 21:33:48 +02:00
2022-04-10 11:54:58 +02:00
swapDevices = [];
2021-04-16 21:33:48 +02:00
2021-04-19 03:00:09 +02:00
hardware.cpu.amd.updateMicrocode = true;
2021-04-16 21:33:48 +02:00
}