feat(forgejo): add robots.txt
This commit is contained in:
parent
e930a17b0b
commit
f593645cde
2 changed files with 10 additions and 4 deletions
|
@ -571,11 +571,11 @@
|
|||
"nix-forgejo": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1734486094,
|
||||
"narHash": "sha256-WZ2vtxCItlfev7um8lBFzXtp7WYVHsDNrCnk1i8yLAU=",
|
||||
"lastModified": 1734980732,
|
||||
"narHash": "sha256-ToN/RwdfzvjAIL9n5HqLBOkupLn4emFvt6I7b5vN/+I=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "403b7bab1b5c37275ab946a5944c2caaf12eca78",
|
||||
"revCount": 1,
|
||||
"rev": "404b26d8d40f36cf3953bbaa2ff602cdb8ca6acd",
|
||||
"revCount": 4,
|
||||
"type": "git",
|
||||
"url": "https://git.lix.systems/the-distro/nix-forgejo.git"
|
||||
},
|
||||
|
|
|
@ -139,6 +139,12 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d '${config.services.forgejo.stateDir}/custom/public' 0750 forgejo forgejo - -"
|
||||
"z '${config.services.forgejo.stateDir}/custom/public' 0750 forgejo forgejo - -"
|
||||
"L+ '${config.services.forgejo.stateDir}/custom/public/robots.txt' - - - - ${nix-forgejo.blobs."robots.txt"}"
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
|
|
Loading…
Reference in a new issue