diff --git a/module/Vm.nix b/module/Vm.nix index 0004558..a4573fe 100644 --- a/module/Vm.nix +++ b/module/Vm.nix @@ -1,4 +1,5 @@ { lib, ... }: { + # SEE: https://github.com/name-snrl/nixos-configuration/blob/e7f6b0f664dbee82e3bf3e85a98cdc3088abe602/modules/nixos/profiles/system/vm-config.nix#L1 virtualisation.vmVariant = { module = { autoupdate.enable = lib.mkForce false; @@ -6,14 +7,20 @@ keyd.enable = lib.mkForce false; }; virtualisation = { - memorySize = 4 * 1024; - diskSize = 20 * 1024; + # diskSize = 20 * 1024; cores = 4; + diskImage = null; + memorySize = 4 * 1024; + msize = 1024 * 1024; restrictNetwork = false; resolution = { x = 1280; y = 720; }; + sharedDirectories.experiments = { + source = "$HOME"; + target = "/mnt/home"; + }; }; }; }