infra/nix/monitoring/hardware.nix

19 lines
478 B
Nix
Raw Normal View History

2024-02-05 13:13:44 +00:00
{modulesPath, ...}: {
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
2023-09-05 17:08:43 +01:00
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
2024-02-05 13:13:44 +00:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/77CF-345D";
fsType = "vfat";
};
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront"];
boot.initrd.kernelModules = ["nvme"];
fileSystems."/" = {
device = "/dev/sda1";
fsType = "ext4";
};
2023-09-05 17:08:43 +01:00
}