nix-config
nickel
Our great sponsors
nix-config | nickel | |
---|---|---|
5 | 45 | |
718 | 2,092 | |
- | 5.4% | |
8.8 | 9.5 | |
17 days ago | about 9 hours ago | |
Nix | Rust | |
Apache License 2.0 | 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.
nix-config
-
Best way to setup Nvim on NixOS?
Power user, gvolpe has a great config that heavily customizes nvim.
-
Adding a Flake to my Config
I forked and customized a fairly advanced Nixos configuration that I can load from a flake on github. (Mine | Original)
-
Host-specific settings (different approaches)
I think gvolpe's nix-config repo is what u/ppen9u1n was referencing. Looks like there might be some good ideas to mine there.
-
Nix-GUI: Make NixOS usable for non-technical users through settings / GUI
I think NixOS would benefit from easily accessible collection of opinionated modules/profiles/configurations with minimal set of options. Something like gnome-desktop / sway-desktop / etc. Gnome actually does pretty good job here.
The point is: currently my NixOS and Home Manager configurations have over 2k LOC total. When you search for configurations on GitHub/Google you are likely to find complex ones. For example, quick search for "nixos gnome" (Google) gives me link to NixOS Wiki (which describes only Gnome part) and blog post (https://gvolpe.com/blog/gnome3-on-nixos/) which is useful but links to really huge configuration (https://github.com/gvolpe/nix-config) that is overwhelming to any beginner.
Great example of such approach is nixos-hardware (https://github.com/NixOS/nixos-hardware) which provides one-line configuration covering hardware quirks.
nickel
-
10 Ways for Kubernetes Declarative Configuration Management
Nickel:Nickel is a straightforward configuration language aimed at automatically generating static configuration files. Essentially, it's akin to JSON with the addition of functions and types.
-
Show HN: Togomak – declarative pipeline orchestrator based on HCL and Terraform
Also look at nickel which is an evolution of nix. It's my favorite in this space.
nickel-lang.org
- Show HN: Flake schemas – teaching Nix about your flake outputs
-
What config format do you prefer?
https://github.com/tweag/nickel could try this
I'll also add another candidate if lua isn't the right path (I still think it is): Nickel.
Or this https://github.com/tweag/nickel
-
Announcing Nickel 1.0, a configuration language written in (and usable from) Rust
As for 'providence', I suppose you meant provenance :) it's been delayed because this was less critical for 1.0 to decide on or to implement (as it: it doesn't break backward compatibility in any way to add this feature in the short term), but this is very much on the roadmap: Issue #235. That's a must-have in a language with merging like Nickel.
Nickel isn't the first such project. Similar languages already existed: Jsonnet, CUE, Dhall, and Nix to some extent (albeit specialized). Our starting point was in part adding typing to Nix, and we found that the aforementioned language didn't satisfy our design constraints (you can take a look at the RATIONALE.md document for more details).
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 :)
The LSP is aware of contracts (and the rest of the tooling, in particular `nickel query`) and is able to show "types" (really contracts), documentation, provide completion and so on. You can take a look at a simple Kubernetes example here: https://github.com/tweag/nickel/blob/master/examples/record-contract/record-contract.ncl
What are some alternatives?
rnix-lsp - WIP Language Server for Nix! [maintainer=@aaronjanse]
nixos - My NixOS Configurations
nix-gui - Use NixOS Without Coding
nix-doc - An interactive Nix documentation tool providing a CLI for function search, a Nix plugin for docs in the REPL, and a ctags implementation for Nix script
devshell - Per project developer environments
AppImageKit - Package desktop applications as AppImages that run on common Linux-based operating systems, such as RHEL, CentOS, openSUSE, SLED, Ubuntu, Fedora, debian and derivatives. Join #AppImage on irc.libera.chat
nix - Nix, the purely functional package manager
nix-home - Nix + HM = <3
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
nix-index - Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]
lorri - Your project's nix-env
nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]