| 12 Jul 2022 |
| pbsds joined the room. | 22:38:28 |
| @ole6edev:matrix.org joined the room. | 23:23:35 |
| 13 Jul 2022 |
| Gytis Ivaskevicius left the room. | 12:17:51 |
| @lukas:envs.net joined the room. | 16:23:34 |
| 14 Jul 2022 |
| @dandart:matrix.org left the room. | 15:58:34 |
| 15 Jul 2022 |
trofi | 500-ed hydra by trying a string named eval ID: https://hydra.nixos.org/eval/nixpkgs:staging-next?compare=trunk&full=1#tabs-now-fail. WAI or a bug? | 07:05:26 |
das_j | probably a bug | 09:49:52 |
das_j | should return 400 when the id is not numeric | 09:49:57 |
| @aktaboot:tchncs.de left the room. | 11:19:39 |
| @lukas:envs.net left the room. | 15:15:24 |
trofi | Thank you! Filed https://github.com/NixOS/hydra/issues/1238 | 21:31:59 |
| 18 Jul 2022 |
| toraritte changed their display name from metello to toraritte. | 09:00:20 |
| 21 Jul 2022 |
| polygon_ joined the room. | 14:15:17 |
polygon_ | Hi | 14:15:39 |
polygon_ | I have a Hydra running and now want to add a nix-serve instance to use it as a binary substituter. I've been following https://nixos.wiki/wiki/Binary_Cache for the most part. However, I have some issues with configuring the private key for nix-serve. I have
services.nix-serve.secretKeyFile = "/var/cache-priv-key.pem"
in my config and doing "systemctl cat nix-serve" also shows:
LoadCredentials=NIX_SECRET_KEY_FILE:/var/cache/cache-priv-key.pem
But when I try to obtain a narinfo, automatic signing fails with the following error:
cannot open file '/run/credentials/nix-serve.service/NIX_SECRET_KEY_FILE': permission denied
Is this a known issue? I am running on 22.05 | 14:19:05 |
polygon_ | Fixed it by removing the secretKeyFile line and adding systemd.services.nix-serve.serviceConfig.Environment = "NIX_SECRET_KEY_FILE=/var/cache-priv-key.pem" | 14:47:18 |
polygon_ | still a bit weird | 14:47:21 |
Sandro |
I have a Hydra running and now want to add a nix-serve instance to use it as a binary substituter.
hydra is already a substituter.
For example I nuked the nix-serve in the hackspace and changed the reverse proxy to redirect directly to hydra.
| 15:51:46 |
@grahamc:nixos.org | one thing to note is hydra is not very good at it | 16:26:41 |
@grahamc:nixos.org | * one thing to note is hydra is not very good at it, like (iirc) it fully buffers NARs before sending them to clients | 16:26:58 |
ajs124 | polygon_: is using nix-serve though, right? | 16:34:11 |
ajs124 | personally, I'd recommend harmonia instead (obviously), but maybe you should talk about that to somebody more impartial | 16:34:41 |
Sandro | is nix-serve doing that differently? | 16:35:30 |
polygon_ | Mhm, hydra on 3000 is a substituter | 17:18:52 |