Move server!
This commit is contained in:
parent
9f8e9ddccc
commit
6eb7b95b12
7 changed files with 48 additions and 20 deletions
|
@ -1,10 +1,10 @@
|
|||
{ modulesPath, ... }:
|
||||
{
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
boot.loader.grub.device = "/dev/vda";
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
|
||||
boot.initrd.kernelModules = [ "nvme" ];
|
||||
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
|
||||
|
||||
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
|
||||
# swap
|
||||
swapDevices = [{ device = "/var/swapfile"; }];
|
||||
swapDevices = [{ device = "/var/swapfile"; size = 2 * 1024; }];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue