Skip to content

Commit

Permalink
nix vm: maybe get vms working on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollie committed Jan 5, 2025
1 parent 0dd5827 commit 8fcf3c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand Down

0 comments on commit 8fcf3c1

Please sign in to comment.