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

Multiple profiles support #135

Open
RaitoBezarius opened this issue Mar 18, 2023 · 0 comments
Open

Multiple profiles support #135

RaitoBezarius opened this issue Mar 18, 2023 · 0 comments
Milestone

Comments

@RaitoBezarius
Copy link
Member

Finalizing Bootspec, we discovered that nixos-rebuild switch has support for different profiles (--profile-name flag), this is some form of switching-time "specialisation".
Currently, we collect all generations links through: /nix/var/nix/profiles/system-*-link, but that's wrong with respect to multiple profiles.

When you create a profile, you have a /nix/var/nix/profiles/system-profiles/<profile-name>-*.

Bootspec is also about handling "multiple profiles", apparently, systemd-boot and GRUB supports them, we do not.

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

No branches or pull requests

1 participant