diff --git a/nix/home-manager/home.nix b/nix/home-manager/home.nix index 2cf377a..e2093f1 100644 --- a/nix/home-manager/home.nix +++ b/nix/home-manager/home.nix @@ -143,7 +143,7 @@ in { enable = true; doomPrivateDir = ../../emacs/emacs.doom; emacsPackage = - if "${system}" == "aarch64-darwin" + if isDarwin then pkgs.emacs else pkgs.emacs; };