!zghijEASpYQWYFzriI:nixos.org

Hydra

364 Members
103 Servers

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


SenderMessageTime
14 Feb 2024
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de changed their profile picture.19:41:34
15 Feb 2024
@dustee:matrix.orgdustee how do i declare a hydra job that will build my nixosConfigurations.myhost from my flake? 09:14:23
@dustee:matrix.orgdustee * how do i declare a hydra job that will build my nixosConfigurations.myhost from my flake? i tried Flake URI = path:/nix/config#nixos-my-server-02 09:15:40
@dustee:matrix.orgdustee * how do i declare a hydra job that will build my nixosConfigurations.myhost from my flake? i tried Flake URI = path:/nix/config#nixos-my-server-02 but evaluation fails 09:15:49
@dustee:matrix.orgdusteeid like for hydra to build all the things necessary for that host so i will have them available the next time i rebuild switch09:17:15
@dustee:matrix.orgdusteecould i maybe extend my flake with hydraJob somehow? but still dont know what to put in there09:18:08
@dustee:matrix.orgdustee * could i maybe extend my flake with hydraJob and then target the flake repo with hydra? but still dont know what to put in the hydraJob09:19:19
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @dustee:matrix.org
could i maybe extend my flake with hydraJob somehow? but still dont know what to put in there
Just put nixosConfigurations.yourhost.config.system.build.toplevel there into an attrset at the yourhost key
09:22:13
@dustee:matrix.orgdusteethanks, just need to figure out how to do that with flake-parts ...09:45:05
@dustee:matrix.orgdustee i think it works but im getting a bunch of forbidden in restricted mode errors, is it possible to disable restricted mode in hydra? 10:35:11
@dustee:matrix.orgdustee * i think it works but im getting a bunch of forbidden in restricted mode errors when its trying to pull in inputs, is it possible to disable restricted mode in hydra? 10:35:40

Show newer messages


Back to Room ListRoom Version: 6