this post was submitted on 04 Nov 2025
3 points (100.0% liked)

Nix / NixOS

2550 readers
3 users here now

Main links

Videos

founded 2 years ago
MODERATORS
 

I have installed NixOS on WSL behind Appgate, that runs a proxy and replaces the SSL certificates of the sites, I am visiting.

When I try to execute: sudo nix-channel --update I get the SSL errors, as I don't have imported the root CA certificate of the Proxy.

I have tried to manually download the file and import its path to the configuration.nix but it still fails and shows me the same SSL error.

you are viewing a single comment's thread
view the rest of the comments
[–] ruffsl@programming.dev 2 points 1 month ago

You should be able to rebuild offline if the minimal change set is self contained enough, as in purely local. Did you update any other inputs? I guess you could be missing some kind of extra TLS or CA store dependency for adding custom CAs, but that doesn't seem likely for regular NixOS install. I use flakes instead of channels, so I wouldn't know what else may be blocked you. A stdout log may showcase your error more clearly.