Files
nixos/hosts/linode/hardware-configuration.nix
T

33 lines
761 B
Nix
Raw Normal View History

2022-04-19 17:27:40 +00: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.
2024-10-19 01:19:59 -05:00
{
config,
lib,
modulesPath,
...
}:
2022-04-19 17:27:40 +00:00
{
2024-10-19 01:19:59 -05:00
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
2022-04-19 17:27:40 +00:00
2024-10-19 01:19:59 -05:00
boot.initrd.availableKernelModules = [
"virtio_pci"
"virtio_scsi"
"ahci"
"sd_mod"
];
2022-04-19 17:27:40 +00:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
2024-10-29 18:17:06 +00:00
device = "/dev/disk/by-uuid/fd2d8348-d52a-4859-80b6-4308b2e9cc22";
2022-04-19 17:27:40 +00:00
fsType = "ext4";
};
2024-10-19 01:19:59 -05:00
swapDevices = [ { device = "/dev/sdb"; } ];
2022-04-19 17:27:40 +00:00
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}