init contabo
This commit is contained in:
parent
d34374cd3d
commit
d12c6ef0f3
4 changed files with 71 additions and 2 deletions
10
nixos/contabo/hardware-configuration.nix
Executable file
10
nixos/contabo/hardware-configuration.nix
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
{ lib, modulesPath, ... }:
|
||||
{
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
|
||||
boot.initrd.kernelModules = [ "nvme" ];
|
||||
fileSystems."/" = { device = "/dev/sda3"; fsType = "ext4"; };
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue