From d9bbb2e2675c20fb3255d3cf25c832ba56093770 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 11 Jul 2023 07:43:38 -0400 Subject: [PATCH] virtualization: Mount home directory This is convenient, although care should be taken to remove this mount if you don't want your home directory inside of the virtual machine. --- modules/virtualization.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/virtualization.nix b/modules/virtualization.nix index e38e608..c226121 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -5,8 +5,8 @@ cores = 4; sharedDirectories = { - testing = { - source = "/home/user/containers/testing"; + home = { + source = "$HOME"; target = "/mnt"; }; };