Add git host cli tools
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -86,6 +86,7 @@
|
||||
shlink = import ./shlink { inherit pkgs; };
|
||||
shlink-web-client = import ./shlink-web-client { inherit pkgs; };
|
||||
|
||||
ssh-known-hosts-gitea = import ./ssh/known-hosts/gitea { inherit pkgs; };
|
||||
ssh-known-hosts-github = import ./ssh/known-hosts/github { inherit pkgs; };
|
||||
ssh-known-hosts-gitlab = import ./ssh/known-hosts/gitlab { inherit pkgs; };
|
||||
|
||||
|
16
packages/ssh/known-hosts/gitea/default.nix
Normal file
16
packages/ssh/known-hosts/gitea/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ pkgs, ... }:
|
||||
pkgs.stdenv.mkDerivation {
|
||||
pname = "ssh-known-hosts-gitea";
|
||||
version = "0-unstable-2025-09-01";
|
||||
|
||||
src = pkgs.lib.fetchers.sshKnownHosts {
|
||||
host = "gitea.com";
|
||||
hash = "sha256-xibPjdZdkUSQS+YLfVsanFfAEnKfAPxgRAz138sNJ6c=";
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
cp $src $out
|
||||
'';
|
||||
}
|
Reference in New Issue
Block a user