| author | |
| committer | |
| log | 0cc2fd372221c8b2c4e2959c0dc2760aa9b808f1 |
| tree | b4e51851591a97d1dd1af8818a2b5c6f2a9ba1a2 |
| parent | 95c225adc8c4d220b3c848b4f9d5a1db801fbb50 |
| signature | Commit is signed but in an unrecognized format. |
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 | }: { | |
| 2 | 6 | #Use touchid or watch to activate sudo |
| 3 | 7 | security.pam.services.sudo_local = { |
| 4 | 8 | enable = true; |
| ... | ... | @@ -12,7 +16,7 @@ |
| 12 | 16 | stateVersion = 6; |
| 13 | 17 | |
| 14 | 18 | defaults = { |
| 15 | # Turn quaranite off | |
| 19 | # Turn quarantine off | |
| 16 | 20 | LaunchServices = { |
| 17 | 21 | LSQuarantine = false; |
| 18 | 22 | }; |
| ... | ... | @@ -70,6 +74,10 @@ |
| 70 | 74 | ShowPathbar = true; |
| 71 | 75 | FXEnableExtensionChangeWarning = false; |
| 72 | 76 | }; |
| 77 | ||
| 78 | _HIHideMenuBar = { | |
| 79 | enable = userSettings.darwinTiling; | |
| 80 | }; | |
| 73 | 81 | CustomSystemPreferences = { |
| 74 | 82 | "com.apple.universalaccess" = { |
| 75 | 83 | closeViewTrackpadGestureZoomEnabled = 1; |
modules/macos/tiling/aerospace.nix+9| ... | ... | @@ -112,6 +112,15 @@ |
| 112 | 112 | "-c" |
| 113 | 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 | } |