test
This commit is contained in:
@@ -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=""
|
||||
|
||||
@@ -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
|
||||
# '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user