nix-configs/darwin-common.nix
2022-03-01 23:53:11 +01:00

25 lines
855 B
Nix

{config, pkgs, ...}: {
programs.gnupg.agent.enable = true;
services.nix-daemon.enable = true;
nix.package = pkgs.nixFlakes;
nix.buildCores = 0; # use all cores
nix.maxJobs = 10; # use all cores
system.defaults = {
NSGlobalDomain.AppleShowAllExtensions = true;
NSGlobalDomain.InitialKeyRepeat = 25;
NSGlobalDomain.KeyRepeat = 4;
NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = true;
NSGlobalDomain.PMPrintingExpandedStateForPrint = true;
NSGlobalDomain."com.apple.mouse.tapBehavior" = 1;
NSGlobalDomain."com.apple.trackpad.trackpadCornerClickBehavior" = 1;
dock.autohide = true;
dock.mru-spaces = false;
dock.show-recents = false;
dock.static-only = true;
finder.AppleShowAllExtensions = true;
finder.FXEnableExtensionChangeWarning = false;
loginwindow.GuestEnabled = false;
};
}