| 12 Aug 2025 |
c4lliope | seems like I can make do based on: https://nixos.org/guides/nix-pills/11-garbage-collector.html | 01:54:32 |
| @iridiscencia:arcticfoxes.net left the room. | 01:54:47 |
c4lliope | ➜ disc size /
╭───┬──────┬───────────┬──────────┬───────────┬───────────╮
│ # │ bind │ label │ used │ open │ size │
├───┼──────┼───────────┼──────────┼───────────┼───────────┤
│ 0 │ / │ /dev/dm-0 │ 53.5 GiB │ 169.6 GiB │ 235.1 GiB │
╰───┴──────┴───────────┴──────────┴───────────┴───────────╯
| 02:02:59 |
c4lliope | huzzah praise be. | 02:03:34 |
c4lliope | now to load up on https://microvm-nix.github.io/microvm.nix images | 02:04:24 |
| Josh joined the room. | 16:09:48 |
| jean-paul. joined the room. | 19:04:13 |
jean-paul. | How do I convince nix to use a GitHub token for downloading stuff from GitHub? I keep getting rate limited on CI. I already have access-tokens = github.com=... in ~/.config/nix/nix.conf which seems like it should be enough but clearly isn't.
How do I even tell whether it's trying to use a token for authentication or not?
| 19:04:50 |
jean-paul. | The only thing I can figure out is to put the credentials in /etc/nix/netrc. No variation of access-tokens works as far as I can tell. | 20:01:27 |
Scrumplex | netrc is going to be your best bet really as its widely supported by a lot of tools, not just curl.
Something along the lines of
machine github.com
login your_username
password ghp_...
machine api.github.com
login your_username
password ghp_...
| 20:42:13 |
Scrumplex | I am pretty sure access-tokens in nix.conf only affects the builtin fetchers primarly used by the flake subsystem | 20:43:43 |
jean-paul. | It'd be nice if that were actually documented. The nix.conf docs really make it sound like it's for anything. | 20:59:37 |
| 13 Aug 2025 |
jean-paul. | Cool, 9% of the time:
/etc/nix/netrc" (line 2, column 9):
unexpected 'a'
expecting comment, "machine", "default", "macdef" or end of input
Exited with code exit status 1
| 11:29:15 |
| adamcstephens joined the room. | 14:37:12 |
adamcstephens | Last message 19-Mar 😆 | 14:38:16 |
| @hlad:hlad.org left the room. | 16:08:00 |
| matthewcroughan changed their display name from matthewcroughan @ WHY2025 (DECT: 8793) to matthewcroughan. | 17:10:22 |
| 14 Aug 2025 |
adamcstephens | Ahh my message was clearly wrong. Thanks matrix for backfilling all the mod events instantly and then doing the chat events later | 12:16:59 |
adamcstephens | https://blog.nginx.org/blog/native-support-for-acme-protocol | 12:51:12 |
adamcstephens | i'm not a big nginx user, and think our acme implementation is good enough, but could be interesting to some | 12:52:56 |
magic_rb | Thats exciting, brings it closer to caddy, caddy is still a bit slower than nginx i think | 13:36:07 |
hexa | and has no rate limiting | 13:37:06 |
adamcstephens | i was happy to see it's written in a memory safe language too (rust) | 13:54:52 |
adamcstephens | * i was happy to see the plugin is written in a memory safe language too (rust) | 13:56:25 |
magic_rb | What has no ratelimiting | 13:56:35 |
hexa | caddy | 13:56:43 |
magic_rb | Nginx has rate limiting what | 13:56:58 |
hexa | https://nginx.org/en/docs/http/ngx_http_limit_req_module.html | 13:57:17 |
hexa | https://github.com/mholt/caddy-ratelimit hm | 13:57:32 |
hexa |
WORK IN PROGRESS: Please note that this module is still unfinished and may have bugs. Please try it out and file bug reports - thanks!
| 13:57:39 |