nix-doc
nix-portable
nix-doc | nix-portable | |
---|---|---|
3 | 11 | |
187 | 706 | |
- | - | |
6.8 | 7.8 | |
about 2 months ago | 7 days ago | |
Rust | Nix | |
GNU Lesser General Public License v3.0 only | 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-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
nix-portable
-
An independent package manager that every hacker deserves
There is also nix-portable (https://github.com/DavHau/nix-portable), which is basically a drop-in replacement for normal nix that does everything required for no-root operation by itself when needed. Just put the single binary in your PATH and it's ready.
-
Docker's deleting Open Source images and here's what you need to know
level (/nix/store/)
Yes, for cache hits to happen it has to be this way as far as I remember.
There is a project called nix-portable though that I've seen some HPC users report success with:
https://github.com/DavHau/nix-portable
-
The Determinate Nix Installer
Great work Graham and team, I'll be switching to it on OSX.
I wonder if you took a look at some of the modifications done by portable-nix (https://github.com/DavHau/nix-portable), most important ones being:
a) Allowing user to choose the location of the nix folder (for example $HOME/.nix) by using bwrap or proot
- is it possible to install the nix package manager with no root privleges?
-
Day 15 with silverblue, loving how rock stable the whole system feels! Exactly the kind of distro i've always wanted.
you can install it and forget about it. yeah the major downside is that you need to disable selinux unless you use nix portable.
- I found this
-
I made a nix-portable integration for direnv for my friend who doesn't want to install nix on his machine 😈
Yeah sadly nix-portable doesn't support macOS because of missing kernel features. They are also thinking about docker fallback though: https://github.com/DavHau/nix-portable/issues/23 🤔😋
-
Introducing Riff, a Nix-based tool for automatically providing external dependencies to Rust projects
There is this: https://github.com/DavHau/nix-portable but I agree we need an official solution
-
We want to make Nix better
Not entirely true, there are many ways in which you can use a custom location and still take advantage of the binary cache. You can do it with chroot, file system namespaces, bind mounts and so on. There's also a nice user friendly tool that does exactly this [1].
[1]: https://github.com/DavHau/nix-portable
-
Nix Development Container
This is cool! In a similar vein, it's worth mentioning nix-portable is a thing. Same idea of containerization except it avoids docker. https://github.com/DavHau/nix-portable
What are some alternatives?
nickel - Better configuration for less
dream2nix - Simplified nix packaging for various programming language ecosystems [maintainer=@DavHau]
nix-index - Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]
arion-compose - Run docker-compose with help from Nix/NixOS
deploy-rs - A simple multi-profile Nix-flake deploy tool.
nix-gaming - Gaming on Nix
colmena - A simple, stateless NixOS deployment tool
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
nix - Nix, the purely functional package manager
bob - Bob is a high-level build tool for multi-language projects.
kubernix - Single dependency Kubernetes clusters for local testing, experimenting and development
nixpkgs - Nix Packages collection & NixOS