mirror of
https://github.com/larstvei/nix-config.git
synced 2025-09-16 03:50:12 +00:00
57 lines
1.1 KiB
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
}
|