macOS VM nix-shell
This commit is contained in:
17
nix-shells/macos-vm.nix
Normal file
17
nix-shells/macos-vm.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user