macOS VM nix-shell

This commit is contained in:
2024-10-10 00:24:48 +01:00
parent 76b278e35b
commit e4169bb324
3 changed files with 19 additions and 29 deletions

17
nix-shells/macos-vm.nix Normal file
View File

@@ -0,0 +1,17 @@
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05";
pkgs = import nixpkgs { config = {}; overlays = []; };
in
pkgs.mkShellNoCC {
packages = with pkgs; [
quickemu
];
shellHook = ''
mkdir -p macos-vm
cd macos-vm
quickget macos ventura
quickemu --vm macos-ventura.conf
'';
}