deploy-rs
sops-nix
deploy-rs | sops-nix | |
---|---|---|
15 | 9 | |
1,151 | 1,221 | |
3.0% | - | |
6.2 | 9.2 | |
12 days ago | 5 days ago | |
Rust | Nix | |
GNU General Public License v3.0 or later | 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.
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
sops-nix
-
Show me the way to cloud infra
For applications, I think environment variables are great. Especially if you adopt nomad because you could also use vault to populate secrets in. For machines that won't work so you'll need something else like https://github.com/Mic92/sops-nix
-
how to store secrets needed at install time
I've heard good things about and seen sops-nix used on a few really solid configs. Others tend to use Age or Homeage.
-
Nix way to recreate environments including authentication, configuration, etc?
You can use something like sops-nix if you're on NixOS https://github.com/Mic92/sops-nix.
-
Building a highly optimized home environment with Nix
Yeah, I don't know how to manage secrets yet. I've read about sops-nix, but I don't have the slightest clue how to integrate it into my own nix-config.
-
What would make NixOS more secure?
I use sops-nix for that. Secrets are stored encrypted in the store, and decrypted at runtime.
-
What to do...
One think I saw that I don't recommend is to change your password after installing; that's not very reporoducible, use users.users..hashedPassword or users.users..passwordFile with agenix or sops-nix.
- How to handle secrets in NixOS (for Docker container and Systemd Services)?
-
How do you manage your private keys?
So, I did some digging. According to the first Dicourse chat that popped up, it's "not possible". That's not an acceptable answer for me ;). I read through HM's appendix to see if there's a mention of private keys there (there weren't). I also know of SOPS (and sops-nix), but that seems to require an SSH/GPG key to decrypt :D.
-
A guide to build a Raspberry Pi cluster managed by NixOps
If you only need secrets management, there are quite a lot of bolt-on solutions with little overhead which are also agnostic to the form of deployment, like https://github.com/Mic92/sops-nix or https://github.com/ryantm/agenix. Personally for my machines I want unattended reboots, so I just copy all keys to the hard disk and manage secrets solely with file permissions.
What are some alternatives?
colmena - A simple, stateless NixOS deployment tool
agenix - age-encrypted secrets for NixOS and Home manager
nixops - NixOps is a tool for deploying to NixOS machines in a network or cloud.
vault-secrets - NixOS tooling for Hashicorp Vault
morph - NixOS deployment tool
digga - A flake utility library to craft shell-, home-, and hosts- environments.
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
nixfiles - My NixOS configuration and assorted other crap.
flake-utils-plus - Use Nix flakes without any fluff.
nixos-config - Mirror of https://code.balsoft.ru/balsoft/nixos-config
deploy-rs - A simple multi-profile Nix-flake deploy tool.
nixos-config - My NixOS configurations.