From 60b8734695b44538eead9aba7cb484a7b4b46544 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Sat, 21 Jun 2025 21:49:48 -0700 Subject: [PATCH] Just support --- .justfile | 4 ++++ emacs/init.el | 10 ++++++++++ nix/home.nix | 1 + 3 files changed, 15 insertions(+) create mode 100644 .justfile diff --git a/.justfile b/.justfile new file mode 100644 index 0000000..e72d1e0 --- /dev/null +++ b/.justfile @@ -0,0 +1,4 @@ + +# Run home-manager switch to update Nix environment +nixup: + cd "{{justfile_directory()}}`/nix" && home-manager switch --flake ".#std" diff --git a/emacs/init.el b/emacs/init.el index df04ff5..e10e3c8 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -669,6 +669,16 @@ ;;;; Emacs Server (server-start) +;;;; Just + +(use-package just-mode + :ensure t) + +(use-package justl + :ensure t + :bind (("C-c j" . justl-exec-default-recipe) + ("C-c J" . justl))) + ;;; Org-mode (use-package org :bind (("C-c o ," . my/org-clear-all) diff --git a/nix/home.nix b/nix/home.nix index 85704e8..c9dc4fe 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -27,6 +27,7 @@ roboto-mono aider-chat sops + just ]; imports = [