Bump flake (#39)

This commit is contained in:
Patrick Stevens
2025-09-08 22:53:04 +01:00
committed by GitHub
parent 3d095e25ae
commit 43766bad42
3 changed files with 30 additions and 19 deletions

View File

@@ -100,11 +100,11 @@
"systems": "systems_3" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1726560853, "lastModified": 1731533236,
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -156,11 +156,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1735053786, "lastModified": 1757256385,
"narHash": "sha256-Gm+0DcbUS338vvkwyYWms5jsWlx8z8MeQBzcnIDuIkw=", "narHash": "sha256-WK7tOhWwr15mipcckhDg2no/eSpM1nIh4C9le8HgHhk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "35b98d20ca8f4ca1f6a2c30b8a2c8bb305a36d84", "rev": "f35703b412c67b48e97beb6e27a6ab96a084cd37",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -229,11 +229,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1734649271, "lastModified": 1757068644,
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=", "narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507", "rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -308,11 +308,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1735068435, "lastModified": 1757366940,
"narHash": "sha256-MrHKBHzq1tTPGJJC0wRot4huqtr5+sW8uv+Ffx4WUqk=", "narHash": "sha256-GFxGO40Tu65a1VZQ6z7RTMEHf9jr6TD4nuLplv17fKM=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "6b2ebdffba31ae37a897c2f2f3d7534041b52ca6", "rev": "2ca8c5e43b7b77c1e6208e2ae996192e0c820e74",
"revCount": 20, "revCount": 21,
"type": "git", "type": "git",
"url": "https://gitea.patrickstevens.co.uk/patrick/puregym-unofficial-dotnet" "url": "https://gitea.patrickstevens.co.uk/patrick/puregym-unofficial-dotnet"
}, },
@@ -398,11 +398,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1734546875, "lastModified": 1754988908,
"narHash": "sha256-6OvJbqQ6qPpNw3CA+W8Myo5aaLhIJY/nNFDk3zMXLfM=", "narHash": "sha256-t+voe2961vCgrzPFtZxha0/kmFSHFobzF00sT8p9h0U=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "ed091321f4dd88afc28b5b4456e0a15bd8374b4d", "rev": "3223c7a92724b5d804e9988c6b447a0d09017d48",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -500,11 +500,11 @@
"scripts": "scripts_4" "scripts": "scripts_4"
}, },
"locked": { "locked": {
"lastModified": 1732825076, "lastModified": 1756748330,
"narHash": "sha256-EfywHLXIizb9UjxIKzuEeaSXmPjkxELvQhVfNpyuiRI=", "narHash": "sha256-6Z/wDFdESbTwgiTnV1oBfQZ661MIgfAhD1rDKipFHbc=",
"owner": "Smaug123", "owner": "Smaug123",
"repo": "static-site-pipeline", "repo": "static-site-pipeline",
"rev": "1475932c4305aa70483fb655b9f021c4d0a5a09e", "rev": "9901b1dfc4274dc4d8792fcbde27861b47173dfa",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -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 # The Gitea module does not allow adding users declaratively
systemd.services.gitea-add-user = { systemd.services.gitea-add-user = {
description = "gitea-add-user"; description = "gitea-add-user";

View File

@@ -0,0 +1,2 @@
User-agent: GPTBot
Disallow: /