nix-config/modules/darwin/default.nix
larstvei bc7c7a5f7e Beef up linux builder
I need a bigger linux builder to build another linux...
2025-09-14 18:41:21 +02:00

57 lines
1.1 KiB
Nix

{
imports = [
../fonts
../homebrew
];
nix.linux-builder = {
enable = true;
ephemeral = true;
maxJobs = 4;
config = {
virtualisation = {
darwin-builder = {
diskSize = 200 * 1024;
memorySize = 8 * 1024;
};
cores = 6;
};
};
};
system = {
stateVersion = 4;
keyboard = {
enableKeyMapping = true;
remapCapsLockToControl = true;
};
defaults = {
screencapture = {
location = "/tmp";
};
dock = {
autohide = true;
showhidden = true;
mru-spaces = false;
};
finder = {
AppleShowAllExtensions = true;
QuitMenuItem = true;
FXEnableExtensionChangeWarning = true;
};
NSGlobalDomain = {
AppleKeyboardUIMode = 3;
ApplePressAndHoldEnabled = false;
AppleFontSmoothing = 1;
_HIHideMenuBar = true;
InitialKeyRepeat = 15;
KeyRepeat = 1;
"com.apple.mouse.tapBehavior" = 1;
"com.apple.swipescrolldirection" = true;
};
};
};
}