!zghijEASpYQWYFzriI:nixos.org

Hydra

373 Members
103 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
15 Jul 2022
@trofi:matrix.org@trofi:matrix.orgThank you! Filed https://github.com/NixOS/hydra/issues/123821:31:59
18 Jul 2022
@metello:matrix.orgtoraritte changed their display name from metello to toraritte.09:00:20
21 Jul 2022
@polygon_:matrix.orgpolygon_ joined the room.14:15:17
@polygon_:matrix.orgpolygon_Hi14:15:39
@polygon_:matrix.orgpolygon_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.0514:19:05
@polygon_:matrix.orgpolygon_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

Show newer messages


Back to Room ListRoom Version: 6