feat(nix): add extra file for additional macos settings

This commit is contained in:
Stefan Imhoff
2024-08-01 10:49:23 +02:00
parent 34e9c7d89e
commit 5bb7f241a9
2 changed files with 8 additions and 0 deletions

View File

@@ -25,6 +25,8 @@
fish
];
environment.extraInit = builtins.readFile ./mac-extra.sh;
programs.zsh.enable = true;
programs.fish.enable = true;
programs.bash.enable = true;

6
darwin/mac-extra.sh Normal file
View File

@@ -0,0 +1,6 @@
# Icon Settings
/usr/libexec/PlistBuddy -c "Set DesktopViewSettings:IconViewSettings:iconSize 44" ~/Library/Preferences/com.apple.finder.plist
/usr/libexec/PlistBuddy -c "Set DesktopViewSettings:IconViewSettings:gridSpacing 60" ~/Library/Preferences/com.apple.finder.plist
# Restart Finder
killall Finder