mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nix] Add system preferences (defaults write)
This commit is contained in:
parent
b1d85b15db
commit
aa82f824f4
2 changed files with 62 additions and 0 deletions
|
@ -3,6 +3,12 @@
|
|||
{
|
||||
imports = importAll [] ./.;
|
||||
|
||||
networking = {
|
||||
computerName = "Alyxia's MacBook Pro";
|
||||
hostName = "alymac";
|
||||
localHostName = "alymac";
|
||||
};
|
||||
|
||||
users.users.alyxia = {
|
||||
name = "alyxia";
|
||||
home = "/Users/alyxia";
|
||||
|
|
56
nix/system/preferences.nix
Normal file
56
nix/system/preferences.nix
Normal file
|
@ -0,0 +1,56 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
system.defaults = {
|
||||
ActivityMonitor = {
|
||||
IconType = 5;
|
||||
OpenMainWindow = true;
|
||||
SortColumn = "CPUUsage";
|
||||
SortDirection = 0;
|
||||
};
|
||||
|
||||
NSGlobalDomain = {
|
||||
NSDocumentSaveNewDocumentsToCloud = false;
|
||||
NSNavPanelExpandedStateForSaveMode = true;
|
||||
NSNavPanelExpandedStateForSaveMode2 = true;
|
||||
|
||||
KeyRepeat = 1;
|
||||
InitialKeyRepeat = 10;
|
||||
};
|
||||
|
||||
LaunchServices.LSQuarantine = false;
|
||||
|
||||
finder = {
|
||||
AppleShowAllFiles = true;
|
||||
AppleShowAllExtensions = true;
|
||||
ShowPathbar = true;
|
||||
_FXShowPosixPathInTitle = true;
|
||||
};
|
||||
|
||||
universalaccess = {
|
||||
closeViewScrollWheelToggle = true;
|
||||
};
|
||||
|
||||
CustomSystemPreferences = {
|
||||
"com.apple.desktopservices" = {
|
||||
# Don't create .DS_STORE files on network or external stores
|
||||
DSDontWriteNetworkStores = true;
|
||||
DSDontWriteUSBStores = true;
|
||||
};
|
||||
"com.apple.appstore" = {
|
||||
WebKitDeveloperExtras = true;
|
||||
ShowDebugMenu = true;
|
||||
};
|
||||
# Exists in system.defaults, but it's just one option...
|
||||
"com.apple.SoftwareUpdate" = {
|
||||
AutomaticCheckEnabled = true;
|
||||
ScheduleFrequency = 1;
|
||||
AutomaticDownload = 1;
|
||||
CriticalUpdateInstall = 1;
|
||||
};
|
||||
"com.apple.commerce".AutoUpdate = true;
|
||||
|
||||
"org.x.X11".enable_test_extensions = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue