ctucx.git: nixfiles

ctucx' nixfiles

commit 6d58663acb163cccb023e367de86e23de92fd44b
parent 2f6f9c3846701e7fc4642925a6b4ca49ad468824
Author: Leah (ctucx) <git@ctu.cx>
Date: Sat, 26 Nov 2022 15:51:07 +0100

configurations/darwin: hide `~/Public`
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/configurations/darwin/systemSettings.nix b/configurations/darwin/systemSettings.nix
@@ -33,6 +33,9 @@
     # drag windows by holding CTRL + CMD and clicking anywhere in the window
     # does not work with all applications
     defaults write -g NSWindowShouldDragOnGesture -bool true
+
+    chmod 000 ~/Public
+    chflags hidden ~/Public
   '';
 
   time.timeZone = "Europe/Berlin";