authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-05-02 15:39:47-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-05-02 15:39:47-07:00
log0cc2fd372221c8b2c4e2959c0dc2760aa9b808f1
treeb4e51851591a97d1dd1af8818a2b5c6f2a9ba1a2
parent95c225adc8c4d220b3c848b4f9d5a1db801fbb50
signature Commit is signed but in an unrecognized format.

add ghostty exception, autohide menubar


2 files changed, 19 insertions(+), 2 deletions(-)

modules/macos/system.nix+10-2
...@@ -1,4 +1,8 @@...@@ -1,4 +1,8 @@
1{pkgs, ...}: {1{
2 pkgs,
3 userSettings,
4 ...
5}: {
2 #Use touchid or watch to activate sudo6 #Use touchid or watch to activate sudo
3 security.pam.services.sudo_local = {7 security.pam.services.sudo_local = {
4 enable = true;8 enable = true;
...@@ -12,7 +16,7 @@...@@ -12,7 +16,7 @@
12 stateVersion = 6;16 stateVersion = 6;
1317
14 defaults = {18 defaults = {
15 # Turn quaranite off19 # Turn quarantine off
16 LaunchServices = {20 LaunchServices = {
17 LSQuarantine = false;21 LSQuarantine = false;
18 };22 };
...@@ -70,6 +74,10 @@...@@ -70,6 +74,10 @@
70 ShowPathbar = true;74 ShowPathbar = true;
71 FXEnableExtensionChangeWarning = false;75 FXEnableExtensionChangeWarning = false;
72 };76 };
77
78 _HIHideMenuBar = {
79 enable = userSettings.darwinTiling;
80 };
73 CustomSystemPreferences = {81 CustomSystemPreferences = {
74 "com.apple.universalaccess" = {82 "com.apple.universalaccess" = {
75 closeViewTrackpadGestureZoomEnabled = 1;83 closeViewTrackpadGestureZoomEnabled = 1;
modules/macos/tiling/aerospace.nix+9
...@@ -112,6 +112,15 @@...@@ -112,6 +112,15 @@
112 "-c"112 "-c"
113 "/run/current-system/sw/bin/sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$AEROSPACE_FOCUSED_WORKSPACE"113 "/run/current-system/sw/bin/sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$AEROSPACE_FOCUSED_WORKSPACE"
114 ];114 ];
115
116 on-window-detected = [
117 #Ghostty currently renders tabs as individual processes
118 #Fix comes from https://ghostty.org/docs/help/macos-tiling-wms
119 {
120 "if".app-id = "com.mitchellh.ghostty";
121 run = ["layout tiling"];
122 }
123 ];
115 };124 };
116 };125 };
117}126}