| 2 May 2026 |
graysontinker | Yeah, it just refuses to work. Looking at the code I'm not clear why though | 21:57:45 |
Devin | can't edit nix.conf—it's generated by nixos and lives in the nix store so it's readonly | 21:58:05 |
hexa | rm nix.conf | 21:58:25 |
hexa | or rather | 21:58:29 |
hexa | mv nix.conf{,.bak} | 21:58:33 |
Devin | DUH | 21:58:34 |
hexa | cp nix.conf{.bak,} | 21:58:41 |
hexa | and edit :D | 21:58:44 |
Devin | ty | 22:01:02 |
| Melody joined the room. | 22:04:40 |
Devin | okay so
$ diff /etc/nix/nix.conf < /etc/nix/nix.conf.bak
< substituters = https://nix-community.cachix.org/ https://cache.nixos.org/
---
> substituters = https://nix-community.cachix.org/ https://cache.nixos-cuda.org/ https://cache.nixos.org/
15c15
< trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
---
> trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=
$ nh os switch /home/devin/nix-config
error:
… while calling the 'head' builtin
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/attrsets.nix:1712:13:
1711| if length values == 1 || pred here (elemAt values 1) (head values) then
1712| head values
| ^
1713| else
… while evaluating the attribute 'value'
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/modules.nix:1166:7:
1165| // {
1166| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1167| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/wjfxdzblindbl9sp2hbwhi4iyh5jh348-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `home-manager.users.devin.home.file':
… while evaluating definitions from `/nix/store/54pwggrv42vxx9bj6rlccq2dk6cazrj5-source/modules/hm':
… while evaluating the option `home-manager.users.devin.programs.nixcord.config.themes':
… while evaluating definitions from `/nix/store/vvhsnhz2c15zdcdj1vchhcwixd4pxspy-source/global/graphical/discord.nix':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: unable to download 'https://cache.nixos-cuda.org/64p5qz6fkdvvyd5j21g8fvs822jiw0ih.narinfo': HTTP error 502
| 22:05:31 |
Devin | * okay so
$ diff /etc/nix/nix.conf < /etc/nix/nix.conf.bak
< substituters = https://nix-community.cachix.org/ https://cache.nixos.org/
---
> substituters = https://nix-community.cachix.org/ https://cache.nixos-cuda.org/ https://cache.nixos.org/
15c15
< trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
---
> trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=
$ nh os switch /home/devin/nix-config
error:
… while calling the 'head' builtin
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/attrsets.nix:1712:13:
1711| if length values == 1 || pred here (elemAt values 1) (head values) then
1712| head values
| ^
1713| else
… while evaluating the attribute 'value'
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/modules.nix:1166:7:
1165| // {
1166| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1167| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/wjfxdzblindbl9sp2hbwhi4iyh5jh348-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `home-manager.users.devin.home.file':
… while evaluating definitions from `/nix/store/54pwggrv42vxx9bj6rlccq2dk6cazrj5-source/modules/hm':
… while evaluating the option `home-manager.users.devin.programs.nixcord.config.themes':
… while evaluating definitions from `/nix/store/vvhsnhz2c15zdcdj1vchhcwixd4pxspy-source/global/graphical/discord.nix':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: unable to download 'https://cache.nixos-cuda.org/64p5qz6fkdvvyd5j21g8fvs822jiw0ih.narinfo': HTTP error 502
| 22:05:44 |
Devin | * okay so
$ diff /etc/nix/nix.conf < /etc/nix/nix.conf.bak
13c13
< substituters = https://nix-community.cachix.org/ https://cache.nixos.org/
---
> substituters = https://nix-community.cachix.org/ https://cache.nixos-cuda.org/ https://cache.nixos.org/
15c15
< trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
---
> trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=
$ nh os switch /home/devin/nix-config
error:
… while calling the 'head' builtin
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/attrsets.nix:1712:13:
1711| if length values == 1 || pred here (elemAt values 1) (head values) then
1712| head values
| ^
1713| else
… while evaluating the attribute 'value'
at «github:nixos/nixpkgs/15f4ee454b1dce334612fa6843b3e05cf546efab?narHash=sha256-Ad49moKWeXtKBJNy2ebiTQUEgdLyvGmTeykAQ9xM%2BZ4%3D»/lib/modules.nix:1166:7:
1165| // {
1166| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1167| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/wjfxdzblindbl9sp2hbwhi4iyh5jh348-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `home-manager.users.devin.home.file':
… while evaluating definitions from `/nix/store/54pwggrv42vxx9bj6rlccq2dk6cazrj5-source/modules/hm':
… while evaluating the option `home-manager.users.devin.programs.nixcord.config.themes':
… while evaluating definitions from `/nix/store/vvhsnhz2c15zdcdj1vchhcwixd4pxspy-source/global/graphical/discord.nix':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: unable to download 'https://cache.nixos-cuda.org/64p5qz6fkdvvyd5j21g8fvs822jiw0ih.narinfo': HTTP error 502
| 22:06:28 |
Devin | nix should not be using the cuda cache as a substituter but it's still trying to download something from it... | 22:06:49 |
Devin | though this is possibly just some weirdness with some other flake input I have
also lmk if i should make this a thread i don't use matrix often | 22:07:27 |
Melody | Also noticed nix isnt just auto falling back to another substituter. Removing it helped at least.
Devin do you have nixConfig.extra-substituters defined in flake.nix by chance?
| 22:09:41 |
Devin | i do not | 22:09:58 |
Devin | hm... manually overriding the substituters option at the command-line seems to have gotten me past this, so ig the change to nix.conf just... didn't go through? | 22:10:07 |
Devin | and now it's just. fine even without that? how bizarre | 22:12:00 |
Devin | anyway good luck figuring ts out :3 | 22:12:49 |
Devin | * anyway good luck figuring ts out you guys:3 | 22:12:54 |
Devin | * anyway good luck figuring ts out you guys :3 | 22:12:55 |
Gaétan Lepage | Yup, restarted it. I might do a few cycles, so there can be more down time tonight.
Sorry for the disruption | 22:13:52 |
Devin | no worries! this stuff isn't easy | 22:14:06 |
Gaétan Lepage | hexa (UTC+1) it looks like harmonia doesn't like the socket path:
May 03 00:11:25 hydra harmonia[5383]: [2026-05-02T22:11:25Z INFO harmonia] listening on /run/harmonia/socket
May 03 00:11:25 hydra harmonia[5383]: Error: Custom { kind: Other, error: invalid socket address }
Am I missing something? | 22:15:29 |
hexa | Can check in 15m | 22:16:08 |
| smudge joined the room. | 22:17:03 |
Gaétan Lepage | Reverted so the cache is now working again. | 22:18:13 |
hexa | https://github.com/nixos-cuda/infra/pull/101 | 22:30:00 |
Gaétan Lepage | Merged, thanks! | 22:43:36 |