!zghijEASpYQWYFzriI:nixos.org

Hydra

384 Members
109 Servers

Load older messages


SenderMessageTime
22 Dec 2023
@medliviz:matrix.orgmedliviz joined the room.12:31:41
23 Dec 2023
@arcayr:rascals.net@arcayr:rascals.net joined the room.16:04:53
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT 2128).22:22:47
25 Dec 2023
@julienmalka:matrix.orgJulien changed their display name from Julien to Julien - DECT 4575.20:03:42
26 Dec 2023
@tim:stratum0.orgdadada (they/them) changed their display name from dadada to dadada (7562).17:34:50
27 Dec 2023
@lotte:chir.rs@lotte:chir.rs changed their profile picture.09:13:35
@mtheil:scs.ems.host@mtheil:scs.ems.host changed their display name from Markus Theil to Markus Theil (DECT 5139).13:06:20
@mtheil:scs.ems.host@mtheil:scs.ems.host changed their display name from Markus Theil (DECT 5139) to Markus Theil (DECT 5139, SIP 8492).16:49:40
28 Dec 2023
@catalin:one.ems.hostViorel-Cătălin Răpițeanu joined the room.20:38:31
29 Dec 2023
@xtrwe69:matrix.orgxtrwe12 joined the room.04:20:01
30 Dec 2023
@tim:stratum0.orgdadada (they/them) changed their display name from dadada (7562) to dadada.10:47:50
@kiken_sr:matrix.orgKiken joined the room.16:08:09
@kiken_sr:matrix.orgKiken set a profile picture.16:09:04
@julienmalka:matrix.orgJulien changed their display name from Julien - DECT 4575 to Julien.18:43:50
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT 2128) to raitobezarius.19:53:37
@mtheil:scs.ems.host@mtheil:scs.ems.host changed their display name from Markus Theil (DECT 5139, SIP 8492) to Markus Theil.21:34:13
31 Dec 2023
@obsqrprjkt:matrix.orgobsqrprjkt set a profile picture.17:08:15
@philiptaron:matrix.orgPhilip Taron (UTC-8) changed their display name from Philip Taron to Philip Taron (UTC-8).18:10:49
@tim:stratum0.orgdadada (they/them) set a profile picture.21:08:15
4 Jan 2024
@hacker1024:matrix.orghacker1024Is there any way to read a value from another file or environment variable in the Hydra configuration? I've set up sops-nix for all my secrets, but Hydra requires GitLab tokens to be put in the configuration file itself. The NixOS module generates the entire configuration file during evaluation, so there's no way to put secrets inside it.04:01:46
@janne.hess:helsinki-systems.dedas_jNothing I'm aware of09:28:37
@rick:matrix.ciphernetics.nlRick (Mindavi)You may be able to change the module to support that use-case, but I'm not deep enough in it to be sure10:49:10
@hacker1024:matrix.orghacker1024
In reply to @rick:matrix.ciphernetics.nl
You may be able to change the module to support that use-case, but I'm not deep enough in it to be sure
I've added a postStart section to the hydra-init service to replace the link to the config file with a copy concatenated with my secret file. This seems to be working well for now.
23:40:34
5 Jan 2024
@casey:hubns.netcransomway back when, yeah, i did something similar for secrets.16:01:03
@arcayr:rascals.net@arcayr:rascals.net
In reply to @hacker1024:matrix.org
Is there any way to read a value from another file or environment variable in the Hydra configuration? I've set up sops-nix for all my secrets, but Hydra requires GitLab tokens to be put in the configuration file itself. The NixOS module generates the entire configuration file during evaluation, so there's no way to put secrets inside it.
hydra doesn't have a configFile / environmentFile attr?
16:02:15
@ma27:nicht-so.sexyma27 I usually do Include foo in hydra.conf and ln -sf ${config.sops.foo.path} /var/lib/hydra/foo in e.g. the poststart. 16:02:33
@ma27:nicht-so.sexyma27IIRC the config file format supports inclusions, but not from arbitrary locations, hence the symlink.16:02:52
7 Jan 2024
@iamameatpopsicle:matrix.orgiamameatpopsicle joined the room.17:44:25
9 Jan 2024
@andar1an:matrix.org@andar1an:matrix.org joined the room.20:28:19
10 Jan 2024
@hacker1024:matrix.orghacker1024

I have a jobset of NixOS system closures that have custom software installed. The NixOS systems use modules from a third-party repository, and the custom software uses packages from the same third-party repository. The same revision of the repository needs to be used in both cases, as the NixOS modules supply drivers that must be ABI-compatible with the software.

Before making the Hydra jobset, I had a file called revisions.json containing the repository revision and hash. The packages were added in an overlay using self.fetchFromGitHub with those details, and the modules were added using builtins.fetchTarball, as no Nixpkgs is available during module import evaluation.

Is fetchurl disabled in Hydra even when a hash is supplied? It seems so. How then can I use the fixed revision information from inside my main input in another input? Can jobset inputs reference each-other?

03:12:21

Show newer messages


Back to Room ListRoom Version: 6