Unable to install Lix on a read-only filesystem (Bazzite, Fedora Atomic Desktops). #53

Open
opened 2025-08-09 05:24:02 +00:00 by maxpowerfreak · 1 comment

Error

Error: 
   0: Install failure
   1: Error executing action
   2: Action `start_systemd_unit` errored
   3: Failed to execute command with status 1 `"systemctl" "start" "nix.mount"`, stdout: 
      stderr: Failed to start nix.mount: Unit nix-directory.service failed to load properly, please adjust/correct and reload service manager: Device or resource busy
      See system logs and 'systemctl status nix.mount' for details.


Here's the details of systemctl status

~$ systemctl status nix.mount
○ nix.mount - Mount `/var/home/nix` on `/nix`
     Loaded: loaded (/etc/systemd/system/nix.mount; disabled; preset: disabled)
     Active: inactive (dead)
      Where: /nix
       What: /var/home/nix

Aug 09 01:11:51 bazzite systemd[1]: Dependency failed for nix.mount - Mount `/var/home/nix` on `/nix`.
Aug 09 01:11:51 bazzite systemd[1]: nix.mount: Job nix.mount/start failed with result 'dependency'.

Metadata

key value
version 0.17.1
os linux
arch x86_64

Additional Details

I am using the OS Bazzite, which is based on Fedora Atomic Desktops.

I'm assuming this is due to the filesystem being locked more so than a particular bug in my setup or the script. If it's an easy fix though, please let me know! :)

## Error ``` Error: 0: Install failure 1: Error executing action 2: Action `start_systemd_unit` errored 3: Failed to execute command with status 1 `"systemctl" "start" "nix.mount"`, stdout: stderr: Failed to start nix.mount: Unit nix-directory.service failed to load properly, please adjust/correct and reload service manager: Device or resource busy See system logs and 'systemctl status nix.mount' for details. ``` Here's the details of `systemctl status` ``` ~$ systemctl status nix.mount ○ nix.mount - Mount `/var/home/nix` on `/nix` Loaded: loaded (/etc/systemd/system/nix.mount; disabled; preset: disabled) Active: inactive (dead) Where: /nix What: /var/home/nix Aug 09 01:11:51 bazzite systemd[1]: Dependency failed for nix.mount - Mount `/var/home/nix` on `/nix`. Aug 09 01:11:51 bazzite systemd[1]: nix.mount: Job nix.mount/start failed with result 'dependency'. ``` ## Metadata |key|value| |--|--| |**version**|0.17.1| |**os**|linux| |**arch**|x86_64| ## Additional Details I am using the OS [Bazzite](https://bazzite.gg/), which is based on [Fedora Atomic Desktops](https://fedoraproject.org/atomic-desktops/). I'm assuming this is due to the filesystem being locked more so than a particular bug in my setup or the script. If it's an easy fix though, please let me know! :)
Author

For what it's worth, I ended up setting up a distrobox (debian stable+backport through BoxBuddy) for it in the meantime to play around with Nix, and the installer worked perfectly through there.

It does come with extra difficulties for IDE setup, but there are guides for at least Jetbrains and VSCode out there in the wild

For what it's worth, I ended up setting up a distrobox (debian stable+backport through BoxBuddy) for it in the meantime to play around with Nix, and the installer worked perfectly through there. It does come with extra difficulties for IDE setup, but there are guides for at least Jetbrains and VSCode out there in the wild
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix-installer#53
No description provided.