Packaging lix for openSUSE: Documentation on nixbld group and users required by Lix? #728

Open
opened 2025-03-12 07:02:01 +00:00 by kastl-ars · 4 comments

Dear maintainers,

I now have a working build of lix 2.92.0. I installed it and could get nix --version to output something.

However, what I am still lacking is creating the users and group required by the nix-daemon.

I found lots of things sprinkled across the code and documentation, but wanted to ask if there is a single source of truth for this?

Kind Regards,
Johannes

Dear maintainers, I now have a working build of lix 2.92.0. I installed it and could get `nix --version` to output something. However, what I am still lacking is creating the users and group required by the nix-daemon. I found lots of things sprinkled across the code and documentation, but wanted to ask if there is a single source of truth for this? Kind Regards, Johannes
Owner

we don't have a whole lot of documentation, but there is [a short section in the manual(https://docs.lix.systems/manual/lix/2.92/installation/multi-user.html#build-users). you do have to create the group yourself (though you can override the name of the group the daemon will search), and fill it with as many users as you like (at least one)

we don't have a whole lot of documentation, but there is [a short section in the manual(https://docs.lix.systems/manual/lix/2.92/installation/multi-user.html#build-users). you do have to create the group yourself (though you can override the name of the group the daemon will search), and fill it with as many users as you like (at least one)
Author

Thanks for the fast reply. I saw that section and have for now added the group and 10 build users according to the sample command you gave.

I just wanted to make sure this is enough and I am not missing anything. I could successfully start the nix-daemon and add+update a channel. I could also install home-manager.

So it looks like the package works. Now I have to streamline the dependencies and see, if it is possible to get this into Tumbleweed...

Thanks for the fast reply. I saw that section and have for now added the group and 10 build users according to the sample command you gave. I just wanted to make sure this is enough and I am not missing anything. I could successfully start the nix-daemon and add+update a channel. I could also install home-manager. So it looks like the package works. Now I have to streamline the dependencies and see, if it is possible to get this into Tumbleweed...
Owner

10 build users is definitely enough to get something going, but it's also going to limit the number of concurrent builders to 10 (every build user can only run a single build at any given time for isolation reasons). it should be a good enough default, but it probably makes sense to make that configurable somehow.

10 build users is definitely enough to get something going, but it's also going to limit the number of concurrent builders to 10 (every build user can only run a single build at any given time for isolation reasons). it should be a good enough default, but it probably makes sense to make that configurable somehow.

are you continuing to have issues or is documentation missing or something? otherwise i'd close this issue

are you continuing to have issues or is documentation missing or something? otherwise i'd close this issue
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
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#728
No description provided.