infrastructure/machines/web02/_hardware-configuration.nix

40 lines
894 B
Nix
Raw Normal View History

2024-01-11 12:45:01 +01: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.
{ modulesPath, ... }:
2024-01-11 12:45:01 +01:00
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot = {
initrd = {
availableKernelModules = [
"ata_piix"
"uhci_hcd"
"ehci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
2024-01-11 12:45:01 +01:00
kernelModules = [ ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/8725c242-144d-495b-8ce4-6f0cef7c8ee3";
fsType = "btrfs";
};
"/boot" = {
device = "/dev/disk/by-uuid/84F6-E7A3";
fsType = "vfat";
};
};
swapDevices = [ { device = "/dev/disk/by-uuid/d64ae21e-693c-4c77-b62c-97d5e2a960cb"; } ];
2024-01-11 12:45:01 +01:00
}