This commit is contained in:
kenji
2025-12-30 18:02:37 -06:00
parent bc6dae065b
commit 83919d2367
8 changed files with 333 additions and 48 deletions
+1 -6
View File
@@ -1,10 +1,5 @@
{
pkgs,
myConfig,
...
}: {
{pkgs, ...}: {
programs = {
ssh.extraConfig = myConfig.ssh.extraConfig;
bash.interactiveShellInit = ''
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]; then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
+3 -9
View File
@@ -17,15 +17,9 @@
default_password = {
neededForUsers = true;
};
# AVANTE_GEMINI_API_KEY = {
# owner = "kenji";
# };
ssh_extra_config = {
owner = myConfig.nixos.username;
};
};
};
# programs.fish.interactiveShellInit = ''
# if test -f ${config.sops.secrets.AVANTE_GEMINI_API_KEY.path}
# set -gx AVANTE_GEMINI_API_KEY (cat ${config.sops.secrets.AVANTE_GEMINI_API_KEY.path})
# end
# '';
}