mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-04-03 12:51:23 +02:00
WIP: enable gickup on bicep
This commit is contained in:
parent
cf7f4c996f
commit
e928a5e981
@ -8,6 +8,7 @@
|
|||||||
./services/nginx
|
./services/nginx
|
||||||
|
|
||||||
./services/calendar-bot.nix
|
./services/calendar-bot.nix
|
||||||
|
./services/git-mirrors
|
||||||
./services/mysql.nix
|
./services/mysql.nix
|
||||||
./services/postgres.nix
|
./services/postgres.nix
|
||||||
|
|
||||||
|
49
hosts/bicep/services/git-mirrors/default.nix
Normal file
49
hosts/bicep/services/git-mirrors/default.nix
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.gickup = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
source = {
|
||||||
|
github = [{
|
||||||
|
# token_file = sops
|
||||||
|
include = [
|
||||||
|
"go-gitea/gitea"
|
||||||
|
"unmojang/FjordLauncher"
|
||||||
|
"unmojang/drasl"
|
||||||
|
"NixOS/nixpkgs"
|
||||||
|
"saltstack/salt"
|
||||||
|
"heimdal/heimdal"
|
||||||
|
"yushijinhun/authlib-injector"
|
||||||
|
"Git-Mediawiki/Git-Mediawiki"
|
||||||
|
];
|
||||||
|
wiki = true;
|
||||||
|
issues = true;
|
||||||
|
}];
|
||||||
|
gitlab = [{
|
||||||
|
include = [
|
||||||
|
"mx-puppet/discord/better-discord.js"
|
||||||
|
"mx-puppet/discord/matrix-discord-parser"
|
||||||
|
"mx-puppet/discord/discord-markdown"
|
||||||
|
"mx-puppet/discord/mx-puppet-discord"
|
||||||
|
"mx-puppet/mx-puppet-bridge"
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
any = [
|
||||||
|
{
|
||||||
|
url = "https://sourceware.org/git/glibc.git";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
destination.local = [{
|
||||||
|
path = "/data/git-mirrors";
|
||||||
|
structured = true;
|
||||||
|
zip = true;
|
||||||
|
keep = 5;
|
||||||
|
bare = true;
|
||||||
|
lfs = true;
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user