nickel-nix
nix-doc
nickel-nix | nix-doc | |
---|---|---|
4 | 3 | |
183 | 190 | |
- | - | |
0.0 | 6.3 | |
10 months ago | about 1 month ago | |
Nix | Rust | |
MIT License | GNU Lesser General Public License v3.0 only |
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.
nickel-nix
-
NixOS and My Descent into Insanity
Have you tried https://github.com/nickel-lang/nickel-nix ?
I didn't use it yet, but looks like this supposed to do it.
-
The guide to software development with Guix
These days those aren't the only options; you can also use Nickel: https://github.com/nickel-lang/nickel-nix
Which isn't fully baked, no, but here's hoping.
-
Announcing Nickel 1.0, a configuration language written in (and usable from) Rust
One target-use case of Nickel is to be used as an alternative front-end for Nix (instead of Nix expressions). There is a draft RFC and a repository to use Nickel to write development shell (Nixel). The goal is that, one day, you can actually just transparently call to Nix code and into Nixpkgs. Until then, I totally understand that nothing can be the power of levering Nixpkgs... so your approach makes sense :)
-
Our Roadmap for Nix
Undecided; see https://github.com/nickel-lang/nickel-nix for a proof-of-concept of an integration that requires making no changes to either Nickel or Nix.
nix-doc
-
We want to make Nix better
I love nix, I've been using it for the last 2 years, I have a very stable setup from these 2 years of effort [0], and I just can't recommend Nix for Linux beginners, why?
It's not because of the nix language, It's not because of the CLI, it's because everything is scattered, you have to consult many places to find out how to do things with Nix, here is an example:
Usually, when I need a new complex program, like Steam, I first check the system-wide configuration [1], the wiki [2] and the package list [3], if I just want it on my user, I need to check if Home Manager has an option [4], if it doesn't, I can try using the "home.packages" option. Now, if I need to override something on the package, I need to remember how to do it with [5] [6] (while checking the source code for the package in parallel to find the options).
And then sometimes, on very rare occasions, I need to fine tune something with the nix language, so I need to check the builtins/lib docs [7], but some builtins are not there, so I need to either use nix-doc [8] or find the docs inside the code-bases [9] [10] (they are split between both repos)
For me, this is one of the main pain points of using Nix / NixOS that needs to be solved.
[0] - https://github.com/shiryel/nixos-dotfiles
[1] - https://search.nixos.org/options
[2] - https://nixos.wiki/wiki/Steam
[3] - https://search.nixos.org/packages
[4] - https://mipmip.github.io/home-manager-option-search/
[5] - https://nixos.org/manual/nixos/stable/#sec-customising-packa...
[6] - https://nixos.org/guides/nix-pills/nixpkgs-overriding-packag...
[7] - https://teu5us.github.io/nix-lib.html
[8] - https://github.com/lf-/nix-doc
[9] - https://github.com/NixOS/nix
[10] - https://github.com/NixOS/nixpkgs
- Our Roadmap for Nix
- nix-doc v0.5 released, adding ctags generation for Nix scripts
What are some alternatives?
nix-book - Nix documentation – centralized community online learning resource for Nix
nickel - Better configuration for less
go-nix - Elements of Nix re-implemented as Go libraries [maintainer=@flokli]
nix-index - Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]
flake-utils - Pure Nix flake utility functions [maintainer=@zimbatm]
deploy-rs - A simple multi-profile Nix-flake deploy tool.
vscode-yaml - YAML support for VS Code with built-in kubernetes syntax support
colmena - A simple, stateless NixOS deployment tool
nixpkgs - Nix Packages collection & NixOS
nix-portable - Nix - Static, Permissionless, Installation-free, Pre-configured
guix-installer - A GNU Guix installer image with the full Linux kernel!
nix - Nix, the purely functional package manager