this post was submitted on 16 Jun 2023
35 points (100.0% liked)
Technology
37696 readers
305 users here now
A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.
Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.
Subcommunities on Beehaw:
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Is there a way to add the config of the current user to this cofig file?
What's the point of a user config if they can't change it themselves?
With NixOS you can install packages as a user without asking root, just don't expect it to affect anything on the base system level, or for other users.
Hmm, I'm not sure what you mean. Can you be more specific?
If you want something installed or configured system-wide, you do it in
/etc/nixos/configuration.nix
. Then, as a user of the system (or donning your user hat) you have your own configuration, local to$HOME
.Merging those would be rather pointless because the user can't do that themselves, they'd have to ask
root
every time they change something.But that all said you might be looking for home manager.
Ah, got it. In that sense yes, but I'd like there to be a way to "push"current user configuration to the system wide one. How do you arrive at a good system wide configuration? By testing a cofiguration as a user and then deciding what works and what not, adjusting it and arriving at a result that you want now as a system wide.
In practice my system configuration is quite minimal, everything that can be installed as a user I install as user. It provides a login screen and DE selection menu (which only contains kde), a couple of daemons, such things, I literally don't touch that files for months and months on end.