From f432b7057738cb5123c8e1b506a2a1199e71ee72 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 17 Oct 2021 11:52:47 -0400 Subject: Update cloud services Rebuilt email server, started wireguard setup. --- Biz/Cloud/Hardware.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Biz/Cloud/Hardware.nix') diff --git a/Biz/Cloud/Hardware.nix b/Biz/Cloud/Hardware.nix index 20eab30..ab775dc 100644 --- a/Biz/Cloud/Hardware.nix +++ b/Biz/Cloud/Hardware.nix @@ -1,8 +1,7 @@ -{ ... }: +{ modulesPath, ... }: { + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; boot.loader.grub.device = "/dev/vda"; + boot.initrd.kernelModules = [ "nvme" ]; fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; }; - swapDevices = [ - { device = "/swapfile"; } # 4GB - ]; } -- cgit v1.2.3