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{pkgs, ...}: {
1{
2 pkgs,
3 userSettings,
4 ...
5}: {
26 #Use touchid or watch to activate sudo
37 security.pam.services.sudo_local = {
48 enable = true;
......@@ -12,7 +16,7 @@
1216 stateVersion = 6;
1317
1418 defaults = {
15 # Turn quaranite off
19 # Turn quarantine off
1620 LaunchServices = {
1721 LSQuarantine = false;
1822 };
......@@ -70,6 +74,10 @@
7074 ShowPathbar = true;
7175 FXEnableExtensionChangeWarning = false;
7276 };
77
78 _HIHideMenuBar = {
79 enable = userSettings.darwinTiling;
80 };
7381 CustomSystemPreferences = {
7482 "com.apple.universalaccess" = {
7583 closeViewTrackpadGestureZoomEnabled = 1;
modules/macos/tiling/aerospace.nix+9
......@@ -112,6 +112,15 @@
112112 "-c"
113113 "/run/current-system/sw/bin/sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$AEROSPACE_FOCUSED_WORKSPACE"
114114 ];
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 ];
115124 };
116125 };
117126}