From d952edab1873f6c4e7be69efecae2073e3e91859 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Wed, 16 Oct 2024 02:51:44 +0530 Subject: [PATCH] feat(ssh): Add onepassword agent to nix linux fix(nvim): disable neotest --- common/home.nix | 5 ++++- flake.lock | 2 +- neovim/nvim.nix | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/common/home.nix b/common/home.nix index c7e8ee96..b9c5dba6 100644 --- a/common/home.nix +++ b/common/home.nix @@ -139,7 +139,10 @@ in { extraConfig = lib.strings.optionalString pkgs.stdenv.isDarwin '' - IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock" + IdentityAgent ~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock + '' + + lib.strings.optionalString pkgs.stdenv.isLinux '' + IdentityAgent ~/.1password/agent.sock ''; }; sketchybar.enable = device.isMac; diff --git a/flake.lock b/flake.lock index cc2d4a3e..3b3c7a38 100644 --- a/flake.lock +++ b/flake.lock @@ -1856,7 +1856,7 @@ }, "locked": { "lastModified": 1, - "narHash": "sha256-a4+2gPdX4ziDuk/hBfpILy9/MyXh36ghysMdjjmmblY=", + "narHash": "sha256-B2LjQTL+huRMyKPzvyzPbL19cV9tOaMCifdGgBjhjCQ=", "path": "./neovim", "type": "path" }, diff --git a/neovim/nvim.nix b/neovim/nvim.nix index 8d8e33d4..09af89ad 100644 --- a/neovim/nvim.nix +++ b/neovim/nvim.nix @@ -104,7 +104,7 @@ in rec { }; neotest = { - enable = true; + enable = false; settings = { # adapters = [ # ''require('rustaceanvim.neotest')''