-
Notifications
You must be signed in to change notification settings - Fork 13
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
nixos module #31
nixos module #31
Conversation
@Mic92 whoa, that was quick! I came up with the following today:
I don't know excatly how the module system works, but my assumption was that for systemd.packages and environment.systemPackages to contain all configured packages, it would have to run at the very last, even after the main configuration.nix file. So in the system configuration flake, I'd import the above module after configuration.nix file like so:
But I couldn't login to gnome after this 😓 and I discarded it. But it'd still be cool, if nix-ld would somehow detect all the libraries that are installed on the system anyway and make them available. Having a list of "common" libs is probably the better idea, but it also means that there will be stuff installed that's probably not needed. |
I think I would probably in the beginning just leave it to the user what libraries to install since everyone needs something else. Discovering all libraries sounds tricky - it would likely cause conflicts and its unclear which library should be preferred in this case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In line 8 you added a closing brace which never got opened, it seems
f80f09f
to
efcc128
Compare
adcd497
to
6bb0a9e
Compare
c0469ca
to
b5c8317
Compare
No description provided.