From 040f849502647cd17ce23e151d3aa9a152472306 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 6 Apr 2024 23:43:37 +0200 Subject: [PATCH] Map host keys into `build-vm`s --- lib/system.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/system.nix b/lib/system.nix index 57e55d1..8691b2b 100644 --- a/lib/system.nix +++ b/lib/system.nix @@ -18,6 +18,15 @@ imports = [ machineConfig ]; + + virtualisation.vmVariant = { + virtualisation.sharedDirectories = { + keys = { + source = "/etc/ssh"; + target = "/etc/ssh"; + }; + }; + }; }) ]; }