Files
cyper-mac/darwin/settings.nix
2025-12-26 23:02:04 +01:00

57 lines
1.5 KiB
Nix

{ self, ... }:
{
# touch ID for sudo
security.pam.services.sudo_local.touchIdAuth = true;
# system defaults and preferences
system = {
stateVersion = 6;
configurationRevision = self.rev or self.dirtyRev or null;
startup.chime = false;
defaults = {
ActivityMonitor = {
IconType = 5;
OpenMainWindow = true;
ShowCategory = 101;
};
dock = {
enable-spring-load-actions-on-all-items = true;
appswitcher-all-displays = false;
autohide = false;
launchanim = true;
mru-spaces = false;
orientation = "left";
persistent-apps = [
{ app = "/Users/phil/Applications/Home Manager Apps/kitty.app"; }
{ app = "/Applications/Launchpad.app"; } # Doenst Work?
];
show-recents = false;
mineffect = "genie";
};
loginwindow = {
GuestEnabled = false;
DisableConsoleAccess = true;
};
finder = {
AppleShowAllFiles = true; # hidden files
AppleShowAllExtensions = true; # file extensions
_FXShowPosixPathInTitle = true; # title bar full path
ShowPathbar = true; # breadcrumb nav at bottom
ShowStatusBar = true; # file count & disk space
};
NSGlobalDomain = {
NSAutomaticSpellingCorrectionEnabled = false;
NSAutomaticCapitalizationEnabled = false;
NSAutomaticPeriodSubstitutionEnabled = false;
NSAutomaticWindowAnimationsEnabled = false;
};
};
};
}