fix(ssh): typo

This commit is contained in:
ooks-io 2024-04-22 19:08:45 +12:00
parent 7e351d9311
commit 8291537e44

View file

@ -2,7 +2,7 @@
let
cfg = config.homeModules.console.utility.ssh;
fish = config.homeModules.console.shell.fish;
hasFish = mkIf config.homeModules.console.shell.fish.enable;
inherit (lib) mkIf;
in
@ -16,7 +16,7 @@ in
IdentityAgent "~/.1password/agent.sock"
'';
};
fish.interactiveShellInit = mkIf fish.enable ''
programs.fish.interactiveShellInit = hasFish ''
set -gx SSH_AUTH_SOCK ~/.1password/agent.sock
'';
};