xin/hosts/h/hardware-configuration.nix

30 lines
816 B
Nix
Raw Normal View History

2022-08-25 12:21:35 -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.
2023-09-12 08:44:05 -06:00
{ config
, lib
, modulesPath
, ...
2023-07-11 09:12:50 -06:00
}: {
2023-09-12 08:44:05 -06:00
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
2022-08-25 12:21:35 -06:00
2023-09-12 08:44:05 -06:00
boot = {
initrd = {
availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sd_mod" ];
kernelModules = [ ];
};
kernelModules = [ "wireguard" ];
extraModulePackages = [ ];
};
2022-08-25 12:21:35 -06:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/b3caa6ff-5610-4ae2-999d-f8f0b1599c4f";
fsType = "ext4";
};
2023-09-12 08:44:05 -06:00
swapDevices = [{ device = "/dev/disk/by-uuid/610a3dbc-59d5-4e5b-b5de-b31402135d44"; }];
2022-08-25 12:21:35 -06:00
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
}