From dff94cc17503b9295ee1ce839eeba932a07aa738 Mon Sep 17 00:00:00 2001
From: Tom Prince <tom.prince@private.storage>
Date: Tue, 28 Sep 2021 09:44:21 -0600
Subject: [PATCH] local-grid: Rename the hardware-virtual gridlib module to
 indicate that it is for vagrant.

---
 morph/grid/local/grid.nix                                | 3 ++-
 morph/lib/default.nix                                    | 2 +-
 morph/lib/{hardware-virtual.nix => hardware-vagrant.nix} | 0
 3 files changed, 3 insertions(+), 2 deletions(-)
 rename morph/lib/{hardware-virtual.nix => hardware-vagrant.nix} (100%)

diff --git a/morph/grid/local/grid.nix b/morph/grid/local/grid.nix
index b909c603..52eba2ca 100644
--- a/morph/grid/local/grid.nix
+++ b/morph/grid/local/grid.nix
@@ -27,7 +27,8 @@ let
       ../../../nixos/modules/deployment.nix
       # Give it a good SSH configuration.
       ../../../nixos/modules/ssh.nix
-      gridlib.hardware-virtual
+      # Configure things specific to the virtualisation environment.
+      gridlib.hardware-vagrant
     ];
     services.private-storage.sshUsers = ssh-users;
 
diff --git a/morph/lib/default.nix b/morph/lib/default.nix
index bf25e5a5..266f326a 100644
--- a/morph/lib/default.nix
+++ b/morph/lib/default.nix
@@ -5,7 +5,7 @@
   base = import ./base.nix;
 
   hardware-aws = import ./issuer-aws.nix;
-  hardware-virtual = import ./hardware-virtual.nix;
+  hardware-vagrant = import ./hardware-vagrant.nix;
 
   issuer = import ./issuer.nix;
   customize-issuer = import ./customize-issuer.nix;
diff --git a/morph/lib/hardware-virtual.nix b/morph/lib/hardware-vagrant.nix
similarity index 100%
rename from morph/lib/hardware-virtual.nix
rename to morph/lib/hardware-vagrant.nix
-- 
GitLab