Move server!

This commit is contained in:
Natsu Kagami 2022-12-01 19:14:40 +01:00
parent 9f8e9ddccc
commit 6eb7b95b12
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
7 changed files with 48 additions and 20 deletions

View file

@ -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; }];
}