refactor(home): homeModules -> ooknet

This commit is contained in:
ooks-io 2024-05-30 22:02:18 +12:00
parent b81c929a0b
commit 1d1cb3092f
104 changed files with 214 additions and 255 deletions

View file

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