diff options
| author | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-20 20:41:16 +0100 |
|---|---|---|
| committer | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-20 20:41:16 +0100 |
| commit | 82533e4b996cd114540a6f0a451fbf1545fb9922 (patch) | |
| tree | 2ba75a874ee6db7be9bc657f2fd2c10b68bba73f /machines/work.nix | |
| parent | 2da799cdae5e2068dd23a51d9b5096205c0f0e6f (diff) | |
fixup
Diffstat (limited to 'machines/work.nix')
| -rw-r--r-- | machines/work.nix | 63 |
1 files changed, 1 insertions, 62 deletions
diff --git a/machines/work.nix b/machines/work.nix index a73c48d..596573f 100644 --- a/machines/work.nix +++ b/machines/work.nix @@ -58,6 +58,7 @@ sessionPath = [ "/opt/homebrew/bin" ]; + file.".config/aerospace".source = config.lib.meta.mkMutableSymlink /mut/aerospace; file."gpg-agent.conf" = { text = '' pinentry-program /opt/homebrew/bin/pinentry-mac @@ -104,68 +105,6 @@ -----END CERTIFICATE----- ''; }; -# cmd - 1 : osascript -e 'tell application "alacritty" to activate' -# cmd - 2 : osascript -e 'tell application "Google Chrome" to activate' -# cmd - 3 : osascript -e 'tell application "slack" to activate' -# cmd - 4 : osascript -e 'tell application "Microsoft Teams (work or school)" to activate' -# cmd - 5 : osascript -e 'tell application "calendar" to activate' -# cmd - 6 : osascript -e 'tell application "mail" to activate' - services.skhd = { - enable = true; - skhdConfig = '' - cmd - d : /opt/X11/bin/xrandr -s 2560x1664 - ''; - }; - services.sketchybar.enable = false; - services.yabai = { - enable = false; - package = pkgs.yabai; - enableScriptingAddition = true; - config = { - focus_follows_mouse = "off"; - mouse_follows_focus = "off"; - window_placement = "first_child"; - window_opacity = "off"; - window_opacity_duration = "0.0"; - window_border = "on"; - window_border_placement = "inset"; - window_border_width = 2; - window_border_radius = 3; - active_window_border_topmost = "off"; - window_topmost = "on"; - window_shadow = "float"; - active_window_border_color = "0xff5c7e81"; - normal_window_border_color = "0xff505050"; - insert_window_border_color = "0xffd75f5f"; - active_window_opacity = "1.0"; - normal_window_opacity = "1.0"; - split_ratio = "0.50"; - split_type = "horizontal"; - auto_balance = "off"; - mouse_modifier = "fn"; - mouse_action1 = "move"; - mouse_action2 = "resize"; - layout = "bsp"; - window_origin_display = "focused"; - display_arrangement_order = "vertical"; - top_padding = 10; - bottom_padding = 10; - left_padding = 10; - right_padding = 10; - window_gap = 10; - }; - - extraConfig = '' - # rules - yabai -m rule --add app='System Settings' manage=off - yabai -m rule --add app='alacritty' title='dap' display='2' - - # Any other arbitrary config here - yabai -m signal --add event=window_destroyed action="yabai -m query --windows --window &> /dev/null || yabai -m window --focus recent || yabai -m window --focus first" - yabai -m signal --add event=application_terminated action="yabai -m query --windows --window &> /dev/null || yabai -m window --focus recent || yabai -m window --focus first" - yabai -m signal --add event=window_created action="yabai -m window --warp east" - ''; - }; # Auto upgrade nix package and the daemon service. services.nix-daemon.enable = true; # nix.package = pkgs.nix; |
