From ab3f6a797de0c9b357409b173bf094eaa4d3223a Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sun, 1 Dec 2024 11:08:04 -0800 Subject: [PATCH] add fish ssh agent plugin and flake update --- flake.lock | 18 +++++++++--------- programs/fish/default.nix | 12 +++++++++++- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index 4501bfa..a8d9914 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1732884235, - "narHash": "sha256-r8j6R3nrvwbT1aUp4EPQ1KC7gm0pu9VcV1aNaB+XG6Q=", + "lastModified": 1733075221, + "narHash": "sha256-1U+OGR6FWNem2Zrv92b1T64s+vw5MAFT3Prh+vWy/1I=", "owner": "nix-community", "repo": "home-manager", - "rev": "819f682269f4e002884702b87e445c82840c68f2", + "rev": "7f78e2d1c6a9db76444e02a73f0669ebb79f8833", "type": "github" }, "original": { @@ -27,11 +27,11 @@ ] }, "locked": { - "lastModified": 1732603785, - "narHash": "sha256-AEjWTJwOmSnVYsSJCojKgoguGfFfwel6z/6ud6UFMU8=", + "lastModified": 1733047432, + "narHash": "sha256-fQUKxgxAEHlL5bevRkdsQB7sSpAMhlvxf7Zw0KK8QIg=", "owner": "LnL7", "repo": "nix-darwin", - "rev": "6ab87b7c84d4ee873e937108c4ff80c015a40c7a", + "rev": "e30a3622b606dffc622305b4bbe1cfe37e78fa40", "type": "github" }, "original": { @@ -58,11 +58,11 @@ }, "nur": { "locked": { - "lastModified": 1733020103, - "narHash": "sha256-akEsIxaNv3AGQS+uX1ROTQcmpLiHAbLK2qg8//BXfGA=", + "lastModified": 1733079067, + "narHash": "sha256-0zfHFxf9AEU5fhjLpokHW6I+Xwr7+oorTY9JS/dzuK8=", "owner": "nix-community", "repo": "nur", - "rev": "45959026e0fa781181a41888ae47fd4acc2c308d", + "rev": "a56df0070bac25cddbf6b3c177f68d606f0bfd7c", "type": "github" }, "original": { diff --git a/programs/fish/default.nix b/programs/fish/default.nix index f18f618..ba1fc32 100644 --- a/programs/fish/default.nix +++ b/programs/fish/default.nix @@ -14,7 +14,17 @@ gitignore = "curl -sL https://www.gitignore.io/api/$argv"; }; - plugins = [ ]; + plugins = [ + { + name = "fish-ssh-agent"; + src = pkgs.fetchFromGitHub { + owner = "danhper"; + repo = "fish-ssh-agent"; + rev = "f10d95775352931796fd17f54e6bf2f910163d1b"; + sha256 = "sha256-cFroQ7PSBZ5BhXzZEKTKHnEAuEu8W9rFrGZAb8vTgIE="; + }; + } + ]; loginShellInit = '' set -xg TERM xterm-256color -- 2.47.0