feat(ssh): Add onepassword agent to nix linux

fix(nvim): disable neotest
This commit is contained in:
uttarayan21
2024-10-16 02:51:44 +05:30
parent 46cc0a4fde
commit d952edab18
3 changed files with 6 additions and 3 deletions

View File

@@ -139,7 +139,10 @@ in {
extraConfig = extraConfig =
lib.strings.optionalString pkgs.stdenv.isDarwin 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; sketchybar.enable = device.isMac;

2
flake.lock generated
View File

@@ -1856,7 +1856,7 @@
}, },
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-a4+2gPdX4ziDuk/hBfpILy9/MyXh36ghysMdjjmmblY=", "narHash": "sha256-B2LjQTL+huRMyKPzvyzPbL19cV9tOaMCifdGgBjhjCQ=",
"path": "./neovim", "path": "./neovim",
"type": "path" "type": "path"
}, },

View File

@@ -104,7 +104,7 @@ in rec {
}; };
neotest = { neotest = {
enable = true; enable = false;
settings = { settings = {
# adapters = [ # adapters = [
# ''require('rustaceanvim.neotest')'' # ''require('rustaceanvim.neotest')''