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 ''; }; }