# Error when installing flox with the Nix-Generic method

**URL:** <https://discourse.flox.dev/t/error-when-installing-flox-with-the-nix-generic-method/967>\
**Category:** Bug Reports\
**Created:** [September 6, 2024, 11:05am UTC](https://discourse.flox.dev/t/error-when-installing-flox-with-the-nix-generic-method/967 "2024-09-06T11:05:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![FloLangenfeld](https://avatars.discourse-cdn.com/v4/letter/f/e95f7d/32.png) [@FloLangenfeld](https://discourse.flox.dev/u/FloLangenfeld)\
**Post date:** [September 6, 2024, 11:05am UTC](https://discourse.flox.dev/t/error-when-installing-flox-with-the-nix-generic-method/967/1 "2024-09-06T11:05:12Z")

</div>

I installed nix 2.24.5 using the Determinate Installer on my system (Ubuntu 22.04-based distro).

I then followed [these instructions](https://flox.dev/docs/install-flox/#__tabbed_1_6) of the flox documentation. I configured the substituters in the `nix.conf` file and restarted the `nix-daemon`. No error so far.

The next command (`nix profile install --experimental-features "nix-command flakes" --accept-flake-config 'github:flox/flox'`) gave me the following error, though:

> nix profile install --experimental-features “nix-command flakes” --accept-flake-config ‘github:flox/flox’  
> error:
> 
> ```
> … while fetching the input 'github:flox/flox'
> 
> error: unable to download 'https://api.github.com/repos/flox/flox/commits/HEAD': Problem with the SSL CA cert (path? access rights?) (77)
> 
> ```

Reading [this thread](https://discourse.flox.dev/t/github-api-401-when-running-flox-activate/580/14) made me try to install and authenticate with the `github-cli` but with no success.

Has anybody else met this issue?

Thanks for your help

---

<div class="post-metadata">

**Author:** ![ghudgins](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.flox.dev/ghudgins/32/588_2.png) [@ghudgins](https://discourse.flox.dev/u/ghudgins)\
**Post date:** [September 6, 2024, 12:51pm UTC](https://discourse.flox.dev/t/error-when-installing-flox-with-the-nix-generic-method/967/2 "2024-09-06T12:51:08Z")

</div>

will take a look and get back to you shortly!

---

<div class="post-metadata">

**Author:** ![ghudgins](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.flox.dev/ghudgins/32/588_2.png) [@ghudgins](https://discourse.flox.dev/u/ghudgins)\
**Post date:** [September 6, 2024, 1:13pm UTC](https://discourse.flox.dev/t/error-when-installing-flox-with-the-nix-generic-method/967/3 "2024-09-06T13:13:19Z")

</div>

what you never want to hear is “it works on my computer” but unfortunately it does on my debian machine with a determinate-provided Nix (aarch64). maybe take a good close look at your `/etc/nix/nix.conf` and make sure the substitutors is set correctly?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/floxdev/original/1X/7199a3f2bc5c7e0c2a3cf7ee13e7e96139d253b6.png)

I ultimately ended up with this configuration, if it helps at all

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/floxdev/original/1X/ef3cc72c572e53c64d0dc48f3de196bcd35c82a6.png)

if you’re still stuck let us know and we can engage more minds on our side!

---

<div class="post-metadata">

**Author:** ![FloLangenfeld](https://avatars.discourse-cdn.com/v4/letter/f/e95f7d/32.png) [@FloLangenfeld](https://discourse.flox.dev/u/FloLangenfeld)\
**Post date:** [September 6, 2024, 1:38pm UTC](https://discourse.flox.dev/t/error-when-installing-flox-with-the-nix-generic-method/967/4 "2024-09-06T13:38:22Z")

</div>

Thanks for the quick reply.

I compared our `/etc/nix/nix/conf` and both contents are identical. Just in case, I’ve restarted my computer as it sometimes solve problems… And it dit it again. Should have done that in first place, apparently. Lesson learned until the next time.

Sorry to have bothered you for such a dumb thing, feel a bit embarassed right now.

---

<div class="post-metadata">

**Author:** ![ghudgins](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.flox.dev/ghudgins/32/588_2.png) [@ghudgins](https://discourse.flox.dev/u/ghudgins)\
**Post date:** [September 6, 2024, 4:08pm UTC](https://discourse.flox.dev/t/error-when-installing-flox-with-the-nix-generic-method/967/5 "2024-09-06T16:08:57Z")

</div>

ah, glad it’s working! not a bother at all
