{"id":13683038,"url":"https://github.com/snowfallorg/nix-editor","last_synced_at":"2025-07-07T05:39:49.232Z","repository":{"id":56953849,"uuid":"447068590","full_name":"snowfallorg/nix-editor","owner":"snowfallorg","description":"A simple rust program to edit NixOS configuration files with just a command","archived":false,"fork":false,"pushed_at":"2024-03-13T03:49:28.000Z","size":145,"stargazers_count":83,"open_issues_count":9,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-14T11:46:59.777Z","etag":null,"topics":["linux","nix","nixos"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snowfallorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-12T03:52:09.000Z","updated_at":"2025-06-12T12:33:49.000Z","dependencies_parsed_at":"2024-08-02T13:23:14.900Z","dependency_job_id":null,"html_url":"https://github.com/snowfallorg/nix-editor","commit_stats":null,"previous_names":["snowfallorg/nix-editor","vlinkz/nix-editor"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/snowfallorg/nix-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowfallorg%2Fnix-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowfallorg%2Fnix-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowfallorg%2Fnix-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowfallorg%2Fnix-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snowfallorg","download_url":"https://codeload.github.com/snowfallorg/nix-editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snowfallorg%2Fnix-editor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259812627,"owners_count":22915171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","nix","nixos"],"created_at":"2024-08-02T13:01:58.250Z","updated_at":"2025-07-07T05:39:49.213Z","avatar_url":"https://github.com/snowfallorg.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\nNix Editor\n===\n[![crates.io][crates badge]][crate]\n[![Coverage Status][coveralls badge]][coveralls]\n[![Built with Nix][builtwithnix badge]][builtwithnix]\n[![License: MIT][MIT badge]][MIT]\n\nA command line utility for modifying NixOS configuration values.\n\n\u003c/div\u003e\n\n## Installation\n### nix-env\n```\ngit clone https://github.com/snowfallorg/nix-editor\nnix-env -f nix-editor -i nix-editor\n```\n### nix profile\n```\nnix profile install github:snowfallorg/nix-editor\n```\n\n## Run with Nix Flakes\n```\nnix run github:snowfallorg/nix-editor -- --help\n```\n\n```\nUsage: nix-editor [OPTIONS] \u003cFILE\u003e \u003cATTRIBUTE\u003e\n\nArguments:\n  \u003cFILE\u003e       Configuration file to read\n  \u003cATTRIBUTE\u003e  Nix configuration option arribute\n\nOptions:\n  -v, --val \u003cVAL\u003e        Value to write\n  -a, --arr \u003cARR\u003e        Element to add\n  -d, --deref            Dereference the value of the attribute\n  -i, --inplace          Edit the file in-place\n  -o, --output \u003cOUTPUT\u003e  Output file for modified config or read value\n  -r, --raw              Prints console output without newlines or trimmed output\n  -f, --format           Formats output using nixpkgs-fmt. Helps when writing new values\n  -h, --help             Print help\n  -V, --version          Print version\n```\n[coveralls badge]: https://img.shields.io/coveralls/github/vlinkz/nix-editor?style=for-the-badge\n[coveralls]: https://coveralls.io/github/vlinkz/nix-editor\n[crates badge]: https://img.shields.io/crates/v/nix-editor.svg?style=for-the-badge\n[crate]: https://crates.io/crates/nix-editor\n[builtwithnix badge]: https://img.shields.io/badge/Built%20With-Nix-41439A?style=for-the-badge\u0026logo=nixos\u0026logoColor=white\n[builtwithnix]: https://builtwithnix.org/\n[MIT badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge\n[MIT]: https://opensource.org/licenses/MIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowfallorg%2Fnix-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnowfallorg%2Fnix-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowfallorg%2Fnix-editor/lists"}