From d3afac63d7a16b3a2bd122119d2bf60b9c54fcde Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@privatestorage.io>
Date: Wed, 5 May 2021 20:37:15 +0000
Subject: [PATCH] Make the VMs accept the derivations morph sends

---
 morph/grid/local/Vagrantfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/morph/grid/local/Vagrantfile b/morph/grid/local/Vagrantfile
index 7c20fddd..81dec21e 100644
--- a/morph/grid/local/Vagrantfile
+++ b/morph/grid/local/Vagrantfile
@@ -33,6 +33,7 @@ Vagrant.configure("2") do |config|
   end
 
   # To make the VMs assign the static IPs to the network interfaces we need a rebuild:
+  config.vm.provision "shell", inline: "echo '{nix.trustedUsers = [ \"@wheel\" \"root\" \"vagrant\" ];}' > /etc/nixos/custom-configuration.nix"
   config.vm.provision "shell", inline: "nixos-rebuild switch"
 
   config.trigger.after :up do |trigger|
-- 
GitLab