nixos-conf-editor
rnix-parser
nixos-conf-editor | rnix-parser | |
---|---|---|
7 | 3 | |
410 | 331 | |
8.3% | 0.9% | |
5.3 | 0.0 | |
3 months ago | 12 months ago | |
Rust | Nix | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nixos-conf-editor
- AI roasts NixOS users
-
SnowflakeOS - Creating a GUI focused NixOS-based distro
Sounds a lot like nixos-conf-editor :) It allows for arbitrary nix code to be set for any option, and evaluates it to check for the correct type before setting it as the value in your configuration file
-
Nix Software Center: gtk4/libadwaita app store for NixOS
Actually already made a similar tool :) https://github.com/vlinkz/nixos-conf-editor
- NixOS Configuration Editor: A gtk4/libadwaita app to edit and manage basic configurations without (much) coding
-
auto update notifier & gui for non-tech users?
I definitely plan to support as much as I can, but there is definitely a level of complexity that can never be truly translated to a graphical tool. What I've found helpful during development for me is that I split the frontend GUI and the backed parser and editor into two projects (nixos-conf-editor and nix-editor), that way I could tackle a lot of the parsing and editing alone without worrying about specific GUI features needed (and use it for other projects). Later when I need some feature I add it to nix-editor. So far nix-editor supports simple attribute modification, array adding and popping, and recursive attribute definition and dereferencing. It's definitely not perfect by any means, but so far it's been enough for the projects I've been working on. I definitely need to credit any success I've had so far to the developers of rnix-parser which translates nix expression to easy to manage ASTs.
rnix-parser
-
auto update notifier & gui for non-tech users?
I definitely plan to support as much as I can, but there is definitely a level of complexity that can never be truly translated to a graphical tool. What I've found helpful during development for me is that I split the frontend GUI and the backed parser and editor into two projects (nixos-conf-editor and nix-editor), that way I could tackle a lot of the parsing and editing alone without worrying about specific GUI features needed (and use it for other projects). Later when I need some feature I add it to nix-editor. So far nix-editor supports simple attribute modification, array adding and popping, and recursive attribute definition and dereferencing. It's definitely not perfect by any means, but so far it's been enough for the projects I've been working on. I definitely need to credit any success I've had so far to the developers of rnix-parser which translates nix expression to easy to manage ASTs.
-
Advantages of flakes
I'm hopeful that with https://github.com/nix-community/rnix-parser being a thing now, we can get some better Nix tooling, particularly for stuff like linting and doc extraction.
-
The Curse of NixOS
Okay, yes, I agree with all of that. Flakes are kind of a module system, but having clearer semantics around functions and classes would definitely help with both code readability and producing better stack traces.
And a proper type system would be awesome.
Regarding docs, it is interesting that portions of the nixpkgs source do seem to have docblock-like comments above the functions, but AFAICT there's no formalized process for extracting or rendering those. Given that https://github.com/nix-community/rnix-parser exists, I wonder how big of a leap it would be to actually extract those, render them into rST pages, and generate a searchable Sphinx manual.
What are some alternatives?
nix-editor - A simple rust program to edit NixOS configuration files with just a command
Nixos-Gui - Gui for Nixos package manager
supertux - SuperTux source code
nix-gui - Use NixOS Without Coding
nickel - Better configuration for less
Relm4 - Build truly native applications with ease!
nix - Nix, the purely functional package manager
nix-software-center - A simple gtk4/libadwaita software center to easily install and manage nix packages
nvd
system-updater - Systemd services for checking for and applying system updates.