nix-installer
nix-installer copied to clipboard
nix-installer not correctly detecting openSUSE MicroOS as an immutable system (where using /nix directly fails)
trafficstars
I tried to install Nix using the nix-installer on a openSUSE MicroOS system. This is an immutable distro similar to Fedory Silverblue/Kinoite/..., but it does not use rpm-ostree.
The installer did not properly detect that it would not be able to write to /nix/ directly and failed due to that.
Running the installer with nix-installer install ostree --persistence=/opt/nix worked successfully.
If desired, I can paste the /etc/os-release from the MicroOS system tomorrow.
I'm glad the ostree variant worked for you! I'd love to see that /etc/os-release.
Here you are:
NAME="openSUSE MicroOS"
# VERSION="20240115"
ID="opensuse-microos"
ID_LIKE="suse opensuse opensuse-tumbleweed"
VERSION_ID="20240115"
PRETTY_NAME="openSUSE MicroOS"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:microos:20240115"
BUG_REPORT_URL=["https://bugzilla.opensuse.org"](https://bugzilla.opensuse.org/)
SUPPORT_URL=["https://bugs.opensuse.org"](https://bugs.opensuse.org/)
HOME_URL=["https://www.opensuse.org/"](https://www.opensuse.org/)
DOCUMENTATION_URL=["https://en.opensuse.org/Portal:MicroOS"](https://en.opensuse.org/Portal:MicroOS)
LOGO="distributor-logo-MicroOS"