mirror of
https://github.com/Smaug123/PulumiConfig
synced 2025-10-06 09:08:39 +00:00
Bump flake (#39)
This commit is contained in:
@@ -90,6 +90,15 @@
|
||||
};
|
||||
};
|
||||
|
||||
system.activationScripts = {
|
||||
gitea-robots-txt = ''
|
||||
mkdir -p /preserve/gitea/data/custom/public
|
||||
cp ${./robots.txt} /preserve/gitea/data/custom/public/robots.txt
|
||||
chown gitea:gitea /preserve/gitea/data/custom/public/robots.txt
|
||||
chmod 644 /preserve/gitea/data/custom/public/robots.txt
|
||||
'';
|
||||
};
|
||||
|
||||
# The Gitea module does not allow adding users declaratively
|
||||
systemd.services.gitea-add-user = {
|
||||
description = "gitea-add-user";
|
||||
|
2
PulumiWebServer/Nix/gitea/robots.txt
Normal file
2
PulumiWebServer/Nix/gitea/robots.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
User-agent: GPTBot
|
||||
Disallow: /
|
Reference in New Issue
Block a user