started shanghai
This commit is contained in:
parent
52722bb66e
commit
39b22bfd0b
6 changed files with 176 additions and 30 deletions
22
hosts/servers/shanghai/hardware-configuration.nix
Normal file
22
hosts/servers/shanghai/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
|
||||
boot.initrd = {
|
||||
availableKernelModules =
|
||||
[ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
|
||||
kernelModules = [ "nvme" ];
|
||||
};
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/sda4";
|
||||
fsType = "xfs";
|
||||
};
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/14EF-4002";
|
||||
fsType = "vfat";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue