From 5aa9d049c543a9b8921ef5bc5a79a28f42542a87 Mon Sep 17 00:00:00 2001 From: universelaptop Date: Sun, 4 Feb 2024 13:58:57 -0500 Subject: [PATCH] universeair: Fix shortcuts, add zoom --- machines/universeair/configuration.nix | 8 +++++++- machines/universeair/skhd.nix | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/machines/universeair/configuration.nix b/machines/universeair/configuration.nix index 38e9924..bc08709 100644 --- a/machines/universeair/configuration.nix +++ b/machines/universeair/configuration.nix @@ -48,7 +48,12 @@ in julia-mono bqn386 ]; - + + services.emacs = { + enable = true; + package = pkgs.mac-emacs; + }; + environment.variables = { EDITOR = "emacs"; }; @@ -91,6 +96,7 @@ in "nextcloud" "tidal" "bitwarden" + "zoom-for-it-admins" ]; # Apps to install outside of nix for when wanting to test/run # things that... aren't used by other people who use nix, like diff --git a/machines/universeair/skhd.nix b/machines/universeair/skhd.nix index 76d9b77..1baa9d0 100644 --- a/machines/universeair/skhd.nix +++ b/machines/universeair/skhd.nix @@ -2,8 +2,8 @@ services.skhd = { enable = true; skhdConfig = '' - cmd + shift - e : open ${pkgs.mac-emacs}/Applications/Emacs.app - cmd + shift + ctrl - e : open ${pkgs.kitty}/Applications/Kitty.app + cmd + shift - e : emacsclient --create-frame --alternate-editor="" + cmd + shift + ctrl - e : kitty -d ~ -1 ''; }; }