dotfiles/.config/nix/modules/system.nix
2023-11-30 07:25:53 +01:00

35 lines
1 KiB
Nix

{ pkgs, ...}:
{
system = {
activationScripts.postUserActivation.text = ''
/System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u
'';
defaults = {
NSGlobalDomain."com.apple.mouse.tapBehavior" = 1;
NSGlobalDomain.AppleShowAllExtensions = true;
NSGlobalDomain.AppleShowAllFiles = true;
NSGlobalDomain.InitialKeyRepeat = 14;
NSGlobalDomain.KeyRepeat = 1;
dock.autohide = true;
dock.autohide-time-modifier = 0.1;
dock.expose-animation-duration = 0.0;
dock.mru-spaces = false;
dock.orientation = "right";
finder.AppleShowAllExtensions = true;
finder.AppleShowAllFiles = true;
finder.CreateDesktop = false;
finder.FXPreferredViewStyle = "Nlsv";
finder.QuitMenuItem = true;
finder._FXShowPosixPathInTitle = true;
menuExtraClock.Show24Hour = true;
menuExtraClock.ShowDate = 0;
menuExtraClock.ShowDayOfWeek = false;
};
};
security.pam.enableSudoTouchIdAuth = true;
programs.zsh.enable = true;
}