migrates dnsc-vps-sm
This commit is contained in:
parent
a5e20a6a75
commit
26b05c4818
9 changed files with 485 additions and 6 deletions
22
modules/hosts/dnsc-vps-sm/_hardware-configuration.nix
Normal file
22
modules/hosts/dnsc-vps-sm/_hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
boot.initrd.availableKernelModules = [
|
||||
"ata_piix"
|
||||
"uhci_hcd"
|
||||
"xen_blkfront"
|
||||
"vmw_pvscsi"
|
||||
];
|
||||
boot.initrd.kernelModules = [ "nvme" ];
|
||||
fileSystems."/" = {
|
||||
device = "/dev/sda1";
|
||||
fsType = "ext4";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue