NixOS configuration editors: Difference between revisions

From NixOS Wiki
imported>Milahu
Created page with "Creating graphical editors for NixOS configuration is hard, because the Nix language is complex. So, either you get a Nix text editor with a language server (autocomplete and..."
 
imported>SuperSandro2000
m improve wording
Line 1: Line 1:
Creating graphical editors for NixOS configuration is hard, because the Nix language is complex.
Creating graphical editors for NixOS configurations is hard because of the amount and complexity of options and the resulting possibilities.


So, either you get a Nix text editor with a language server (autocomplete and suggestions, based on the NixOS config schema),
To improve the editing experience it is highly recommend to use a text editor with syntax highlighting and language server (autocompletion and suggestions based on NixOS config schema) if possible.
or you get a graphical config manager, which cannot express all features of Nix.
It is also possible to use graphical config manager which can't express all features of NixOS but is simply to use.


== Implementations ==
== Implementations ==
Line 10: Line 10:
* https://github.com/nix-gui/nix-gui
* https://github.com/nix-gui/nix-gui
* https://discourse.nixos.org/t/nix-gui-use-nixos-without-coding/15409
* https://discourse.nixos.org/t/nix-gui-use-nixos-without-coding/15409
* python + qt5 desktop app
* python + qt5 desktop program
* 520 github stars
* 520+ GitHub stars


=== nixos-manager by pmiddend ===
=== nixos-manager by pmiddend ===
Line 17: Line 17:
* https://github.com/pmiddend/nixos-manager
* https://github.com/pmiddend/nixos-manager
* https://discourse.nixos.org/t/nixos-manager-manage-your-nixos-configuration-graphically/6685
* https://discourse.nixos.org/t/nixos-manager-manage-your-nixos-configuration-graphically/6685
* haskell + gtk desktop app
* haskell + gtk desktop program
* 150 github stars
* 150+ GitHub stars


=== nixos-conf-editor by vlinkz ===
=== nixos-conf-editor by vlinkz ===
Line 25: Line 25:
* https://discourse.nixos.org/t/nixos-conf-editor-a-gtk4-libadwaita-configuration-editor/19426
* https://discourse.nixos.org/t/nixos-conf-editor-a-gtk4-libadwaita-configuration-editor/19426
* https://www.reddit.com/r/NixOS/comments/w1pwmd/nixos_configuration_editor_a_gtk4libadwaita_app/
* https://www.reddit.com/r/NixOS/comments/w1pwmd/nixos_configuration_editor_a_gtk4libadwaita_app/
* rust + gtk4 desktop app
* rust + gtk4 desktop program
* 50 github stars
* 50+ GitHub stars
 
* backend tool: https://github.com/vlinkz/nix-editor
backend tool: https://github.com/vlinkz/nix-editor


=== Nixos-Gui by Celestialme ===
=== Nixos-Gui by Celestialme ===
Line 34: Line 33:
* https://github.com/Celestialme/Nixos-Gui
* https://github.com/Celestialme/Nixos-Gui
* https://www.reddit.com/r/NixOS/comments/vfywyv/nix_gui_application_to_manage_nixos_build_with/
* https://www.reddit.com/r/NixOS/comments/vfywyv/nix_gui_application_to_manage_nixos_build_with/
* svelte + tauri desktop app
* svelte + tauri desktop program
* 15 github stars
* 15+ GitHub stars


== See also ==
== See also ==

Revision as of 12:52, 30 August 2022

Creating graphical editors for NixOS configurations is hard because of the amount and complexity of options and the resulting possibilities.

To improve the editing experience it is highly recommend to use a text editor with syntax highlighting and language server (autocompletion and suggestions based on NixOS config schema) if possible. It is also possible to use graphical config manager which can't express all features of NixOS but is simply to use.

Implementations

nix-gui by lapp0

nixos-manager by pmiddend

nixos-conf-editor by vlinkz

Nixos-Gui by Celestialme

See also