Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage on NixOS without Nix installed #6294

Open
hacker1024 opened this issue Jan 9, 2025 · 0 comments
Open

Usage on NixOS without Nix installed #6294

hacker1024 opened this issue Jan 9, 2025 · 0 comments
Assignees

Comments

@hacker1024
Copy link

Description

We are building NixOS systems with nix.enable = false, meaning that Nix is not installed in the final system.

The systems are designed to be completely stateless; they are network booted from a read only /nix/store mount, and use a tmpfs as the root filesystem. There is no need to use Nix profiles or generations for anything, because the system is only updated by rebooting into a new system closure (where it starts again from scratch).

At the moment, even when used as a NixOS module, Home Manager still attempts to use Nix directly in a few places in its activation script. It'd be great if there was a way to remove this dependency entirely.

Related: #6242, which was a step in this direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants