From 2b157e1978ce14197f8d563f4c56515f2f3ba976 Mon Sep 17 00:00:00 2001
From: Tom Prince <tom.prince@private.storage>
Date: Mon, 27 Sep 2021 13:10:19 -0600
Subject: [PATCH] local-grid: Remove some configuration that matches the
 defaults.

---
 morph/lib/hardware-virtual.nix | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/morph/lib/hardware-virtual.nix b/morph/lib/hardware-virtual.nix
index 2f306778..d7cef714 100644
--- a/morph/lib/hardware-virtual.nix
+++ b/morph/lib/hardware-virtual.nix
@@ -8,16 +8,10 @@
 
   virtualisation.virtualbox.guest.enable = true;
 
-  # Use the GRUB 2 boot loader.
-  boot.loader.grub.enable = true;
-  boot.loader.grub.version = 2;
   boot.loader.grub.device = "/dev/sda";
 
   boot.initrd.availableKernelModules = [ "ata_piix" "sd_mod" "sr_mod" ];
-  boot.initrd.kernelModules = [ ];
   boot.kernel.sysctl = { "vm.swappiness" = 0; };
-  boot.kernelModules = [ ];
-  boot.extraModulePackages = [ ];
 
   # remove the fsck that runs at startup. It will always fail to run, stopping
   # your boot until you press *.
@@ -33,7 +27,6 @@
     { device = "/dev/sda1";
       fsType = "ext4";
     };
-  swapDevices = [ ];
 
   # We want to push packages with morph without having to sign them
   nix.trustedUsers = [ "@wheel" "root" "vagrant" ];
-- 
GitLab