fix: add hostPlatform to nixcloud
This commit is contained in:
parent
b0f14a29bb
commit
eb227623b5
1 changed files with 17 additions and 10 deletions
|
|
@ -1,17 +1,24 @@
|
||||||
{ modulesPath, ... }:
|
{ modulesPath, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||||
|
boot.initrd.kernelModules = [ "nvme" ];
|
||||||
boot.loader.grub.device = "nodev";
|
boot.loader.grub.device = "nodev";
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [
|
fileSystems."/" = {
|
||||||
"ata_piix"
|
device = "/dev/sda1";
|
||||||
"uhci_hcd"
|
fsType = "ext4";
|
||||||
"xen_blkfront"
|
};
|
||||||
"vmw_pvscsi" ];
|
|
||||||
boot.initrd.kernelModules = [ "nvme" ];
|
|
||||||
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
|
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/sda15";
|
device = "/dev/sda15";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [
|
||||||
|
"ata_piix"
|
||||||
|
"uhci_hcd"
|
||||||
|
"vmw_pvscsi"
|
||||||
|
"xen_blkfront"
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue