99
systemd (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] plyth@feddit.org 7 points 1 week ago* (last edited 1 week ago)

I wait for the day that systemd unifies all /etc config file and the .* config files into one easy to use service that stores the configurations in one efficient central binary file with a tree structure for the values and thus maintains consistency over all applications, is easy to backup and overall makes life much better for developers and users alike.

[-] tutter 3 points 6 days ago* (last edited 6 days ago)

Basically nixos*

*with home manager and a .conf flake

[-] SubArcticTundra@lemmy.ml 5 points 1 week ago

For desktop/app level stuff this is already the case with DConf, so I guess the challenge would just be to extend this into the kernel/services how

[-] plyth@feddit.org 2 points 6 days ago* (last edited 6 days ago)

Avoiding round trips and context switches is desirable in itself, but the real advantage[citation needed] comes from allowing the I/O scheduler in the kernel to do a better job by saturating it with requests coming from all of the applications trying to read their keys (as opposed to a common configuration server serially requesting a single key at a time).

Having all of the keys in a single compact binary format also avoids the intense fragmentation problems currently experienced by the tree-of-directories-of-xml-files approach

https://en.wikipedia.org/wiki/Dconf

I didn't know.

[-] Yoddel_Hickory@piefed.ca 4 points 1 week ago

Wow I'd reguster for that right away ๐Ÿ˜‰

[-] SubArcticTundra@lemmy.ml 4 points 1 week ago* (last edited 1 week ago)

Ideally stores/spits them out as JSON. Also for the kernel please.

[-] klankin@piefed.ca 3 points 1 week ago

Am I having a stroke or are you intentionally describing nixos

[-] SubArcticTundra@lemmy.ml 2 points 6 days ago* (last edited 6 days ago)

Idk I found its config language kinda confusing. JSON is stupidly simple

[-] klankin@piefed.ca 1 points 6 days ago

Admittedly it is pretty confusing, but its spec describes it as "json with functions", and once you get a handle on the recursive aspect of it (and that it kinda smushes multiple imported jsons together), its not too bad.

Stupid useful too

this post was submitted on 10 May 2026
99 points (100.0% liked)

Memes

55797 readers
748 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 7 years ago
MODERATORS