sops-nix
nix-config
sops-nix | nix-config | |
---|---|---|
9 | 8 | |
1,221 | 642 | |
- | - | |
9.2 | 9.7 | |
9 days ago | 6 days ago | |
Nix | Nix | |
MIT License | 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.
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.
nix-config
-
What is the current recommended documentation when starting out with NixOs?
All the resources mentioned in other comments are pretty good, but mostly they are unofficial. The official NixOS wiki is very outdated and unmaintained. You will have better luck reading other people’s configurations, nixpkgs source code and GitHub issues. For the nix language the official wiki is a nice reference https://nixos.org/manual/nix/stable/language/index.html. This configuration is a great starting point https://github.com/Misterio77/nix-config for learning by example. It covers most of what you may need, although bootstrapping your own config is quite rough. You may want to take a look at https://github.com/Misterio77/nix-starter-configs. It’s very basic and should be simple to understand and improve.
-
My First Impressions of Nix
Yes. E.g. some guy's config with 6 different machines[1]: multiple desktops, laptops, servers, a Raspberry Pi, and a VPS. That's a rather advanced use of Nix for configuration, but definitely shows what it's capable of.
[1] https://github.com/Misterio77/nix-config
-
Tool for commiting and tagging when rebuilding
https://github.com/Misterio77/nix-config/blob/main/hosts/celaeno/services/hydra/lib/release-host-branch.nix https://github.com/Misterio77/nix-config/blob/main/hosts/celaeno/services/hydra/default.nix#L39
-
introducing packwiz2nix: one of the best tools for creating minecraft modpacks, now compatible with nix!
Implementation: https://github.com/Misterio77/nix-config/blob/main/pkgs/fetch-packwiz-pack/default.nix
-
Looking for examples of a fully declarative system
the one i reference all the time is https://github.com/Misterio77/nix-config
-
Building a highly optimized home environment with Nix
I believe Misterio77's does use it in his config.
-
Impermanence, wipe root on boot, possible?
I reuse the same btrfs logic on all my computers, including a RPi: https://github.com/Misterio77/nix-config/blob/main/hosts/common/btrfs-optin-persistence.nix
- Who's here runs NixOS with opt in state?
What are some alternatives?
agenix - age-encrypted secrets for NixOS and Home manager
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
vault-secrets - NixOS tooling for Hashicorp Vault
rasp-nix - My Raspberry Pi(4) NixOS Configuration
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.
infra - NixOS configurations for nixos.org and its servers
nixos-config - Mirror of https://code.balsoft.ru/balsoft/nixos-config
infra
nixos-config - My NixOS configurations.
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!