From 4ee5b89695d80806f97657045f4598a0f5786cb8 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 27 Nov 2024 13:57:10 -0500 Subject: [PATCH] doom: avoid rebuild --- justfile | 5 +++++ modules/home/all/emacs.nix | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 5fd2ebc..6afb341 100644 --- a/justfile +++ b/justfile @@ -6,6 +6,11 @@ default: local: nix run +# Run this before `nix run` to build the current configuration +[group('main')] +nom: + , nom build --no-link .#nixosConfigurations.vixen.config.system.build.toplevel + # Deploy to Beelink [group('deploy')] pureintent: diff --git a/modules/home/all/emacs.nix b/modules/home/all/emacs.nix index d93b2cb..bb0c0da 100644 --- a/modules/home/all/emacs.nix +++ b/modules/home/all/emacs.nix @@ -2,7 +2,6 @@ let inherit (flake) inputs; - inherit (inputs) self; in { imports = [ @@ -17,7 +16,7 @@ in programs.doom-emacs = { enable = true; emacs = pkgs.emacs30-pgtk; - doomDir = self + /doom.d; + doomDir = ../../../doom.d; experimentalFetchTree = true; # Disable if there are fetcher issues extraPackages = lib.optionals pkgs.stdenv.isLinux (epkgs: with epkgs; [ vterm