Add gitlab known hosts

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-07-28 15:38:14 +01:00
parent 084fda4ba6
commit 7f9a1dcb66
6 changed files with 35 additions and 3 deletions

View File

@@ -8,6 +8,7 @@
let
selfPkgs = inputs.self.packages.${system};
in
# Configured for the root user to allow private builds
{
sops.secrets."ssh/sas/ed25519/key" = {
sopsFile = "${inputs.secrets}/sas/secrets.yaml";

View File

@@ -93,7 +93,10 @@ in
userKnownHostsFiles =
with selfPkgs;
(
[ ssh-known-hosts-github ]
[
ssh-known-hosts-github
ssh-known-hosts-gitlab
]
++ lib.lists.optionals config.sas.build.private [
ssh-known-hosts-sas-gitlab
ssh-known-hosts-sas-gerrit

View File

@@ -39,7 +39,10 @@ in
};
};
userKnownHostsFiles = with selfPkgs; [ ssh-known-hosts-github ];
userKnownHostsFiles = with selfPkgs; [
ssh-known-hosts-github
ssh-known-hosts-gitlab
];
};
};
}

View File

@@ -39,7 +39,10 @@ in
};
};
userKnownHostsFiles = with selfPkgs; [ ssh-known-hosts-github ];
userKnownHostsFiles = with selfPkgs; [
ssh-known-hosts-github
ssh-known-hosts-gitlab
];
};
};
}