nixfiles/hosts/storage/hardware.nix

15 lines
284 B
Nix
Raw Normal View History

2022-10-27 20:27:22 +01:00
{ modulesPath, ... }: {
2022-10-27 16:25:26 +01:00
imports = [
2022-10-27 20:27:22 +01:00
(modulesPath + "/profiles/qemu-guest.nix")
2022-10-27 16:25:26 +01:00
];
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = {
device = "/dev/sda1";
fsType = "ext4";
};
2022-10-27 20:27:22 +01:00
}