Skip to content

A libadwaita/gtk4 app for editing NixOS configurations

License

Notifications You must be signed in to change notification settings

stnert/nixos-conf-editor

 
 

Repository files navigation

NixOS Configuration Editor

Built with Nix License: GPLv3 Chat on Matrix Chat on Discord

A simple NixOS configuration editor application built with libadwaita, GTK4, and Relm4. The goal of this project is to provide a simple graphical tool for modifying and managing desktop NixOS configurations.

NixOS Installation

Head of configuration.nix

{ config, pkgs, lib, ... }:
let
  nixos-conf-editor = (import (pkgs.fetchFromGitHub {
    owner = "vlinkz";
    repo = "nixos-conf-editor";
    rev = "0.0.6";
    sha256 = "sha256-wJMUY4OCntFfR1BkTsia5tdNmaF5MBB3/n208Q/MPGA=";
  })) {};
in

Packages:

environment.systemPackages =
with pkgs; [
  nixos-conf-editor
  # rest of your packages
];

For any other method of installation, when rebuilding you will be prompted to authenticate twice in a row

'nix-env' Installation

git clone https://github.com/vlinkz/nixos-conf-editor
nix-env -f nixos-conf-editor -i nixos-conf-editor 

Single run on an flakes enabled system:

nix run github:vlinkz/nixos-conf-editor

Single run on non-flakes enabled system:

nix --extra-experimental-features "nix-command flakes" run github:vlinkz/nixos-conf-editor

Debugging

RUST_LOG=nixos_conf_editor=trace nixos-conf-editor

Screenshots

Licenses

The icons in data/icons contains assets from the NixOS logo and are licensed under a CC-BY license.

About

A libadwaita/gtk4 app for editing NixOS configurations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 95.1%
  • Meson 3.6%
  • Nix 1.2%
  • Shell 0.1%