From 0b16c1eeba49a68c106d0fc2bcf3007505fcc926 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sun, 5 Jan 2025 10:08:04 -0600 Subject: [PATCH] nix vm: maybe get vms working on darwin --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index f49dddf8d..acbfb7a9f 100644 --- a/flake.nix +++ b/flake.nix @@ -63,9 +63,12 @@ makeVM = ( path: nixpkgs-stable.lib.nixosSystem { - inherit system; + system = builtins.replaceStrings ["darwin"] ["linux"] system; modules = [ { + virtualisation.vmVariant = { + virtualisation.host.pkgs = pkgs-stable; + }; nixpkgs.overlays = [ self.overlays.releasefast ];