From a2ab0fce668b979c11437177ebae380b20de3eaa Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Tue, 19 Nov 2024 08:33:30 -0500 Subject: [PATCH] neotest Signed-off-by: Michael Thomson --- hosts/macbook/configuration.nix | 2 ++ hosts/macbook/home.nix | 1 - modules/home-manager/nixvim/default.nix | 9 +++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/hosts/macbook/configuration.nix b/hosts/macbook/configuration.nix index 1205dc8..7671e40 100644 --- a/hosts/macbook/configuration.nix +++ b/hosts/macbook/configuration.nix @@ -12,6 +12,8 @@ nixpkgs.config.allowUnfree = true; nixpkgs.config.allowBroken = false; + nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"]; + networking.hostName = "macbook"; nix.settings = { diff --git a/hosts/macbook/home.nix b/hosts/macbook/home.nix index 4dbf89b..0e4a609 100644 --- a/hosts/macbook/home.nix +++ b/hosts/macbook/home.nix @@ -6,7 +6,6 @@ imports = [ ../../modules/home-manager/git ../../modules/home-manager/nixvim - ../../modules/home-manager/wezterm ../../modules/home-manager/kitty ../../modules/home-manager/zsh ../../modules/home-manager/tmux diff --git a/modules/home-manager/nixvim/default.nix b/modules/home-manager/nixvim/default.nix index 5c4b47a..2334ffd 100644 --- a/modules/home-manager/nixvim/default.nix +++ b/modules/home-manager/nixvim/default.nix @@ -10,6 +10,7 @@ home.packages = with pkgs; [ alejandra + ripgrep ]; programs.nixvim = { @@ -284,6 +285,14 @@ }; }; }; + neotest = { + enable = true; + adapters = { + jest = { + enable = true; + }; + }; + }; }; }; }