# Nix installation is gone after getting Fedora 42

**URL:** <https://universal-blue.discourse.group/t/nix-installation-is-gone-after-getting-fedora-42/8500>\
**Category:** General\
**Created:** [May 16, 2025, 8:08am UTC](https://universal-blue.discourse.group/t/nix-installation-is-gone-after-getting-fedora-42/8500 "2025-05-16T08:08:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmartinortiz](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mmartinortiz](https://universal-blue.discourse.group/u/mmartinortiz)\
**Post date:** [May 16, 2025, 8:08am UTC](https://universal-blue.discourse.group/t/nix-installation-is-gone-after-getting-fedora-42/8500/1 "2025-05-16T08:08:22Z")

</div>

Hi,

Yesterday I got the update to Fedora 42 on bluefin. The Nix installation (and home manager) that I had on Fedora 41 is gone. Gone like in “the `/nix` folder is not there, neither the `nix` daemon”

Did this happen to others?

 ![image](https://global.discourse-cdn.com/free1/uploads/univeral_blue/original/2X/3/3c1d810d75f2f4c07a0e5943b6206f768484249e.png)

---

<div class="post-metadata">

**Author:** ![fenglengshun](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/fenglengshun/32/367_2.png) [@fenglengshun](https://universal-blue.discourse.group/u/fenglengshun)\
**Post date:** [May 16, 2025, 8:10am UTC](https://universal-blue.discourse.group/t/nix-installation-is-gone-after-getting-fedora-42/8500/2 "2025-05-16T08:10:34Z")

</div>

See:

> [@Call for Testing: Bluefin LTS (Alpha)](https://universal-blue.discourse.group/t/call-for-testing-bluefin-lts-alpha/5841/51):
>
> Ok I have found the relevant issue: [Ostree installation breaks with composefs changes in Fedora 42 · Issue #1445 · DeterminateSystems/nix-installer · GitHub](https://github.com/DeterminateSystems/nix-installer/issues/1445) Seems like there are discussions here: [Arbitrary top level mount points and composefs (#26) · Issues · fedora / bootc / Issue Tracker · GitLab](https://gitlab.com/fedora/bootc/tracker/-/issues/26#note_2406712783) Just flagging in case anyone comes across… Hope they fix it soon…

---

<div class="post-metadata">

**Author:** ![jcrben](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/jcrben/32/6774_2.png) [@jcrben](https://universal-blue.discourse.group/u/jcrben)\
**Post date:** [September 14, 2025, 9:34pm UTC](https://universal-blue.discourse.group/t/nix-installation-is-gone-after-getting-fedora-42/8500/3 "2025-09-14T21:34:07Z")

</div>

I’m trying [GitHub - DavHau/nix-portable: Nix - Static, Permissionless, Installation-free, Pre-configured](https://github.com/DavHau/nix-portable)

I swiftly hit `error: setting up a private mount namespace: Operation not permitted`

```auto
➜ nix run nixpkgs#hello
errorsetting up a private mount namespace: Operation not permitted

```

However, the NP\_RUNTIME=bwrap or proot works fine:

```auto
➜ NP_RUNTIME=bwrap nix-portable nix run nixpkgs#hello
Hello, world!

```

similar threads:

- [Issue installing certain packages using Nix](https://universal-blue.discourse.group/t/issue-installing-certain-packages-using-nix/2473)
- [Preferred way to install Nix packages?](https://universal-blue.discourse.group/t/preferred-way-to-install-nix-packages/736)

---

<div class="post-metadata">

**Author:** ![mmartinortiz](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@mmartinortiz](https://universal-blue.discourse.group/u/mmartinortiz)\
**Post date:** [September 15, 2025, 6:50am UTC](https://universal-blue.discourse.group/t/nix-installation-is-gone-after-getting-fedora-42/8500/4 "2025-09-15T06:50:19Z")

</div>

After considering what would require to keep my Nix configuration in all my devices, I moved to [chezmoi](https://www.chezmoi.io/). It is a different approach, since chezmoi is intended to keep track of your dotfiles, but you [can also install software](https://www.chezmoi.io/user-guide/advanced/install-packages-declaratively/).

If you are really looking for reproducible environments, chemzoi is not a tool that will give you that. But I mentioned it in case you want to consider it.

Pd: Chezmoi is not a solution for this problem, it is a solution for “my problem” (syncing dotfiles and tools across devices)
