Add sas private build flag

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-03-10 09:43:15 +00:00
parent 7a3129ba5f
commit 4d7e0d23aa
5 changed files with 39 additions and 11 deletions

View File

@@ -1,4 +1,10 @@
{ inputs, system, ... }:
{
config,
inputs,
system,
lib,
...
}:
let
selfPkgs = inputs.self.packages.${system};
in
@@ -22,9 +28,11 @@ in
IdentityFile /root/.ssh/ssh_sas_ed25519_key
'';
knownHostsFiles = with selfPkgs; [
ssh-known-hosts-github
ssh-known-hosts-sas-gitlab
];
knownHostsFiles =
with selfPkgs;
(
[ ssh-known-hosts-github ]
++ lib.lists.optionals config.sas.build.private [ ssh-known-hosts-sas-gitlab ]
);
};
}