nix-doc
deploy-rs
nix-doc | deploy-rs | |
---|---|---|
3 | 15 | |
187 | 1,151 | |
- | 3.0% | |
6.8 | 6.2 | |
about 2 months ago | 10 days ago | |
Rust | Rust | |
GNU Lesser General Public License v3.0 only | GNU General Public License v3.0 or later |
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
deploy-rs
- 20 Years of Nix
-
Building a highly optimized home environment with Nix
deploy-rs
-
Nix: Taming Unix with Functional Programming
Deploy-rs is a great alternative. It works as wrapper on top of flakes, local (optionally, cross-) building and copying closures to target machine with activation:
https://github.com/serokell/deploy-rs
-
How do you manage your updates?
The SSH key I made for this uses yubikey authentication, and every time this opens a SSH connection it will ask for the key. There's some options you can add so multiple SSH sessions can use a single connection, but the current version isn't really working well with them (see e.g. https://github.com/serokell/deploy-rs/issues/106)
-
What's a good service for hosting a personal NixOS server?
I haven't really been in the market for something like this in a long while, but NixOS solved a lot of my headaches when it comes to maintaining a VPS and I'd like to try giving this a shot again. I'm not really interested in cloud/microservice/docker/cluser/whatever, I just want to use something like deploy-rs with a single host and maybe a VPN service like tailscale. What sorts of providers would y'all recommend?
-
Best practices for organizing code repository for multiple machines? What about deployment?
I've messed around with deploy.rs. Simple enough to know what's going on.
-
deploy-rs and colmena should combine efforts
https://github.com/serokell/deploy-rs -- see: https://serokell.io/blog/deploy-rs
- A simple multi-profile Nix-flake deploy tool
-
The best solution for deploying flakes
There are 4 tools I'm taking into consideration right now, but every suggestion is welcome: 1. deploy-rs - I don't know anything about it, heard about it like a day or two ago 2. NixOps - the official one, I don't know what to think, but I have concerns about Flakes compatibility 3. morph - I understand this as "NixOps, but better", no more toughs. 4. colmena - seems to be pretty straightforward with quite nice docs
-
GitOps for NixOS
deploy-rs is great for this as well
What are some alternatives?
nickel - Better configuration for less
colmena - A simple, stateless NixOS deployment tool
nix-index - Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]
nixops - NixOps is a tool for deploying to NixOS machines in a network or cloud.
morph - NixOS deployment tool
nix-portable - Nix - Static, Permissionless, Installation-free, Pre-configured
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
nix - Nix, the purely functional package manager
flake-utils-plus - Use Nix flakes without any fluff.
kubernix - Single dependency Kubernetes clusters for local testing, experimenting and development
deploy-rs - A simple multi-profile Nix-flake deploy tool.