24 Feb 2025 |
| Saturn changed their profile picture. | 22:37:07 |
25 Feb 2025 |
| @sumner:nevarro.space left the room. | 15:11:53 |
26 Feb 2025 |
pcarrier | Is it normal for node enumeration to take tens of seconds and evaluations to take ~3 mins for about 10 nodes? | 19:25:36 |
pcarrier | * Is it normal for node enumeration to take tens of seconds and evaluations to take ~3 mins for about 10 nodes? running unstable from a few days ago | 19:26:06 |
pcarrier | * how can I run colmena unstable, ideally through instructions in my flake? (I was hoping to expose a wrapper à la nix run .#c ) | 19:26:31 |
pcarrier | * Is it normal for node enumeration to take tens of seconds for less than 30 nodes and for evaluations to take ~3 mins for about 10 nodes? running unstable from a few days ago | 19:26:57 |
pcarrier | * Is it normal for node enumeration to take tens of seconds for less than 30 nodes and for evaluations to take ~3 mins for about 10 nodes? most builds+deploys are really fast in comparison. running unstable from a few days ago. | 19:27:18 |
gmacon | I've found that the heuristic for --node-eval-limit is too optimistic and so my machine swaps like crazy during evaluation if I forget to lower it. With a reasonable value, I see about 30s eval time for 10 nodes. | 19:40:17 |
pcarrier | no swapping AFAICT (I do have 96GB of RAM) | 19:41:43 |
gmacon | well, then... if you only have 30 nodes, that's no problem (the heuristic limit will be 190) | 20:29:00 |
27 Feb 2025 |
| Unit 1721344 [polygon] (it/its, es/ihr) changed their profile picture. | 08:24:02 |
| Unit 1721344 [polygon] (it/its, es/ihr) changed their display name from Unit 1721344 [polygon] (it/she) to Unit 1721344 [polygon] (it/its, es/ihr). | 22:21:08 |
3 Mar 2025 |
| recoup3948 joined the room. | 16:03:11 |
4 Mar 2025 |
| Valodim joined the room. | 20:23:22 |
5 Mar 2025 |
| rntpts joined the room. | 23:02:45 |
7 Mar 2025 |
| Qyriad changed their display name from Qyriad to qyriad. | 16:02:56 |
8 Mar 2025 |
| Qyriad changed their display name from qyriad to Qyriad. | 21:41:03 |
12 Mar 2025 |
| wantguns joined the room. | 12:25:51 |
wantguns | hi folks, im very new to nix, currently trying to make a flake which has the darwin/nix configs of all my hosts: https://gist.github.com/wantguns/25ccb4f7669377f256836766fe18c8a4
even though darwin-rebuild works for this flake, the colmena deploy --on "<host>" errors with: https://bin.wantguns.dev/p/X1jVmV | 12:43:35 |
wantguns | if there is an example flake i can follow which uses the output / config of a darwinConfiguration as colmena's host's options, that would help a lot | 12:45:30 |
dantefromhell | In reply to @wantguns:matrix.org if there is an example flake i can follow which uses the output / config of a darwinConfiguration as colmena's host's options, that would help a lot my best way to finding code examples is github search 🥴 you can use lang: nix + whatever snippet you know needs to show up in your code. | 12:50:02 |
gmacon | You have to specify a nixpkgs meta attribute that matches. Try passing just import nixpkgs instead of calling it. | 20:30:38 |
wantguns | i didnt get you, how do pass import nixpkgs as a meta attribute ? | 20:58:23 |
wantguns | i didnt get you, how do i pass import nixpkgs as a meta attribute ? | 20:58:29 |
13 Mar 2025 |
gmacon | In your flake.nix on line 43 you have
nixpkgs = import nixpkgs { system = "x86_64-linux"; };
I'm suggesting you instead write
nixpkgs = import nixpkgs;
| 12:44:23 |
14 Mar 2025 |
wantguns | okay, i tried that but it still gave me the same error, i have now moved on to using deploy-rs, and deploy based on activations:
# ...
deploy = {
nodes = builtins.mapAttrs (name: hostConfig:
let
isDarwin = hostConfig.platform == "darwin";
activationPath = if isDarwin
then deploy-rs.lib.${hostConfig.system}.activate.darwin self.darwinConfigurations.${name}
else deploy-rs.lib.${hostConfig.system}.activate.nixos self.nixosConfigurations.${name};
in {
hostname = hostConfig.hostname;
profiles.system = {
user = if isDarwin then hostConfig.username else "root";
path = activationPath;
};
}
) hosts;
};
# ...
| 10:14:42 |
21 Mar 2025 |
| Marcus joined the room. | 20:18:47 |
22 Mar 2025 |
| yorickvp joined the room. | 14:19:06 |
24 Mar 2025 |
| Nicolas changed their display name from Nicolas Lenz to Nicolas. | 13:41:04 |
| slay326 joined the room. | 15:50:56 |