Improve virtualized macos-ventura settings
Allow ssh into it on the standard port
This commit is contained in:
parent
9c9cc992b8
commit
1d4f9fecdc
1 changed files with 15 additions and 6 deletions
|
@ -1,15 +1,24 @@
|
|||
{ fleetFlake, ... }:
|
||||
{ lib, ... }:
|
||||
{
|
||||
services.macos-ventura = {
|
||||
enable = true;
|
||||
cores = 8;
|
||||
threads = 8;
|
||||
mem = "8G";
|
||||
mem = "16G";
|
||||
vncListenAddr = "0.0.0.0";
|
||||
sshListenAddr = "127.0.0.1";
|
||||
extraQemuFlags = [ "-nographic" ];
|
||||
sshPort = 2021;
|
||||
installNix = true;
|
||||
stateless = true;
|
||||
darwinConfig = fleetFlake.darwinConfigurations.archer;
|
||||
sshPort = 2022;
|
||||
vncDisplayNumber = 1; # means port 59001
|
||||
stateless = false;
|
||||
openFirewall = true;
|
||||
autoStart = false;
|
||||
};
|
||||
|
||||
programs.ssh.extraConfig = lib.mkAfter ''
|
||||
Host macos-ventura
|
||||
Hostname localhost
|
||||
Port 2022
|
||||
Compression yes
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue