this post was submitted on 24 Apr 2025
23 points (96.0% liked)

Opensource

2566 readers
47 users here now

A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Kissaki 2 points 1 day ago (1 children)

[Nix] allows users to reliably reproduce the same state coming from any other state, which is also used for safe rollbacks.

What does that mean for configuration? How does configuration and customization play into Nix declarations?

I'm thinking of what would usually be in /etc/, and what classic package managers like apt/dpkg would deliver a default of but not replace if already existing. Where you make your specific program and service configuration that is independent of the theoretically immutable package program data.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)

Nix does a bunch of fancy linking. The idea is that you will create your configurations from inside the nix language. Which will then be installed and setup according to the standard nix process. You can also install packages then build the configuration files as your normally would. Things like /etc directories are generated but not touched after that. I’m no expert though so I could be wrong.

However after distro hopping for like 4 years I landed on nix hand haven’t looked at anything else in 2 years. Truly the future

[–] Kissaki 2 points 1 day ago (1 children)

distro hoping

I too hope on my distros :D

[–] [email protected] 1 points 1 day ago

And I no longer! :D nix it’s pretty sweet VERY steep learning curve though. It helps if you really understand regular Linux first.