!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

307 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena110 Servers

Load older messages


SenderMessageTime
17 Jul 2022
@winterqt:nixos.devWinter (she/her)it has a newer Nix version05:13:57
@rendakuenthusiast:imperishable.namerendakuenthusiasthow do I do that?05:25:05
@winterqt:nixos.devWinter (she/her) nix-channel --add https://nixos.org/channels/nixos-unstable-small nixpkgs && nix-channel --update 05:30:16
@winterqt:nixos.devWinter (she/her)you know better than me how to update Nix and such from that afterwards, though 😅05:30:56
@winterqt:nixos.devWinter (she/her)(hopefully)05:31:04
@rendakuenthusiast:imperishable.namerendakuenthusiastok I'll try that05:32:43
@rendakuenthusiast:imperishable.namerendakuenthusiastwhat is nixos-unstable-small? I"ve never seen that before05:32:51
@rendakuenthusiast:imperishable.namerendakuenthusiastanyway that did something05:32:57
@winterqt:nixos.devWinter (she/her) cool. can you update Nix (again, i assume you've done this before, if you haven't let me know and i can scour the docs), make sure nix --version reports 2.10.3, and try to apply it again? 05:35:34
@rendakuenthusiast:imperishable.namerendakuenthusiastokay, I'm trying this again, and it seems to be taking longer and not crashing05:36:42
@rendakuenthusiast:imperishable.namerendakuenthusiastI assume it's updating every single package somehow05:36:50
@rendakuenthusiast:imperishable.namerendakuenthusiastso what maeks nixos-unstable-small different from nixos-unstable?05:38:50
@buckley310:matrix.orgBuckley the -small channels have a smaller set of prebuilt packages, and less tests are required to pass for the channel to move forward 05:40:14
@buckley310:matrix.orgBuckleyso the channel moves forward quicker05:40:33
@rendakuenthusiast:imperishable.namerendakuenthusiastokay nevermind that failed05:41:04
@rendakuenthusiast:imperishable.namerendakuenthusiast
Activation failed: Child process exited with error code: 4
          | Failed: Child process exited with error code: 4
05:41:28
@winterqt:nixos.devWinter (she/her)
In reply to @rendakuenthusiast:imperishable.name
okay nevermind that failed
well it didn't segfault at least!
05:43:56
@rendakuenthusiast:imperishable.namerendakuenthusiastokay if I try the deploy again and actually remove that stanza, it works05:46:52
@winterqt:nixos.devWinter (she/her)which stanza?05:58:56
@rendakuenthusiast:imperishable.namerendakuenthusiastthe one with the vhost I was trying to get rid of07:24:44
@ctrochalakis:matrix.orgChristos Trochalakis joined the room.07:49:05
@ctrochalakis:matrix.orgChristos TrochalakisHello! I am using colmena with flakes, is it possible to build node configurations with hydra (hydraJobs)? 13:49:19
@atharvaamritkar:matrix.orgwiredhikari left the room.15:12:28
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @ctrochalakis:matrix.org
Hello! I am using colmena with flakes, is it possible to build node configurations with hydra (hydraJobs)?
You may be able to wrap the node configurations back into nixosSystems. The Colmena flake exposes the deploymentOptions NixOS module so the deployment.* options still work.
19:49:35
@slby:matrix.orgslby joined the room.20:08:22
18 Jul 2022
@rendakuenthusiast:imperishable.namerendakuenthusiastanother weird issue I'm running into04:55:45
@rendakuenthusiast:imperishable.namerendakuenthusiast I wrote a helper function that woudl generate an nginx vhost set of the form { services.nginx.virtualHosts."hostname.example.com" = <nginx configuration> } 04:56:34
@rendakuenthusiast:imperishable.namerendakuenthusiastso that I could define the vhost for a service in the same module I define the service in04:56:58
@rendakuenthusiast:imperishable.namerendakuenthusiast so I have my helper function return the above set, and then use \\ helperFunction { hostname="hostname"; } to merge it into the config set that was already being returned for each service I'm running 04:57:32
@rendakuenthusiast:imperishable.namerendakuenthusiastand this is causing existing configuration to stop appearing in ways I don't understand04:57:52

There are no newer messages yet.


Back to Room ListRoom Version: 6