nixfiles/hosts/hetzner-vm/profiles/gitlab-static-sites.nix

31 lines
800 B
Nix

{config, ...}: let
secrets = config.services.secrets.secrets;
in {
users.users.gitlab_artifacts_sync.uid = 2001;
users.groups.gitlab_artifacts_sync.gid = 2001;
services.gitlab_artifacts_sync = {
enable = true;
credentialsEnvironmentFile = "${secrets.gitlab_env.path}";
repos = [
{
repoName = "ChaotiCryptidz/VaultUI";
domain = "vaultui.owo.monster";
domainOptions = {withTryFiles = true;};
}
{
repoName = "ChaotiCryptidz/music_library_website";
domain = "musiclibrary.owo.monster";
}
{
repoName = "ChaotiCryptidz/food";
domain = "food.owo.monster";
}
{
repoName = "ChaotiCryptidz/thisisanexampleofspeex";
domain = "thisisanexampleofspeex.uk";
}
];
};
}