this post was submitted on 26 Aug 2025
18 points (100.0% liked)

Nix / NixOS

2475 readers
1 users here now

Main links

Videos

founded 2 years ago
MODERATORS
top 4 comments
sorted by: hot top controversial new old
[โ€“] ruffsl@programming.dev 6 points 1 month ago (2 children)

@onlinepersona@programming.dev , this could be really useful for advancing programmatic mutation of pre-existing nix config files using graphical installers and user administ ration tools, like with SnowflakeOS:

Wow, that's awesome. Hopefully that can breathe some new life into SnowflakeOS! My attempts at manipulating nix code went through a nix parser that I can't remember the name of. That's when I found (or came up with? dunno) the importJson function. But this could be cleaner and more reviewable + definitely allows for things like function calls to take advantage of the "JSON on steroids" aspect the author mentioned.

Thanks for sharing ๐Ÿ™

Anti Commercial-AI license

[โ€“] balsoft@lemmy.ml 4 points 1 month ago

What I'm really excited about is automatically editing Nixpkgs meta attrs, e.g. to implement https://github.com/NixOS/rfcs/blob/master/rfcs/0180-broken-package-removal.md

[โ€“] Laser@feddit.org 1 points 1 month ago