1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 11:07:44 +00:00

darwin: more tinkering

This commit is contained in:
RGBCube 2025-07-26 03:09:26 +03:00
parent 6b94e1cea1
commit 7f1381c474
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
7 changed files with 81 additions and 11 deletions

View file

@ -26,10 +26,32 @@
NewWindowTarget = "Home";
QuitMenuItem = true; # Allow quitting of Finder application
ShowExternalHardDrivesOnDesktop = true;
ShowMountedServersOnDesktop = true;
ShowPathbar = true;
ShowRemovableMediaOnDesktop = true;
ShowStatusBar = true;
};
system.defaults.CustomSystemPreferences."com.apple.finder" = {
DisableAllAnimations = true;
FXArrangeGroupViewBy = "Name";
FxDefaultSearchScope = "SCcf"; # Search in current folder by default.
WarnOnEmptyTrash = false;
};
home-manager.sharedModules = [(homeArgs: let
lib' = homeArgs.lib;
inherit (lib'.hm.dag) entryAfter;
in {
home.activation.showLibrary = entryAfter [ "writeBoundary" ] /* bash */ ''
# Unhide ~/Library.
/usr/bin/chflags nohidden ~/Library
'';
})];
}