sops-nix
Atomic secret provisioning for NixOS based on sops (by Mic92)
nixos-config
Mirror of https://code.balsoft.ru/balsoft/nixos-config (by balsoft)
Our great sponsors
sops-nix | nixos-config | |
---|---|---|
9 | 8 | |
1,204 | 231 | |
- | - | |
9.1 | 6.5 | |
1 day ago | about 1 month ago | |
Nix | Nix | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of sops-nix.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-19.
-
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.
nixos-config
Posts with mentions or reviews of nixos-config.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-07.
-
Is there any equivalent to a curated Fedora/Ubuntu? A NixOS-based distro or metarepo of configs perhaps?
balsoft: https://github.com/balsoft/nixos-config
-
Home-manager mime wildchar
Examples: - https://github.com/gmarmstrong/dotfiles/blob/master/nixpkgs/home.nix - https://github.com/balsoft/nixos-config/blob/master/profiles/applications-setup.nix - https://github.com/gytis-ivaskevicius/nixfiles/blob/master/home-manager/common.nix - https://github.com/xtruder/nix-profiles/blob/master/home-manager/roles/desktop/work.nix
-
I'm Here Because of a Meme - Looking for Pointers
I am not in a state to write a detailed recommendation list for all the things you've mentioned, but: - There is indeed an official Matrix room: #nix:nixos.org . I believe this is the most popular Nix community out there. - As for multiple hosts, there are different approaches out there. Typically you will write NixOS "modules" (which are like pieces of configuration) and then merge (combine) them together, along with some machine-specific overrides, to get configurations for all your machines. I do something similar for my config. Here are the modules: https://github.com/balsoft/nixos-config/tree/master/profiles which configure different pieces of my system, then those modules are combined into "roles" (e.g. here's a desktop role: https://github.com/balsoft/nixos-config/blob/master/roles/desktop.nix) and then those roles are imported from actual machine configs with some overrides (e.g. here's the config for the box I'm writing this from: https://github.com/balsoft/nixos-config/blob/master/machines/AMD-Workstation/default.nix)
-
Can configuration.nix manage GTK themes?
Hey, inkscape build seems to be broken, but I have made a new working derivation that uses resvg instead: https://github.com/balsoft/nixos-config/blob/master/modules/workspace/gtk.nix#L32
-
How do you manage your private keys?
I use a custom pass-based hack: https://github.com/balsoft/nixos-config/blob/master/modules/secrets.nix and https://github.com/balsoft/nixos-config/blob/master/modules/secrets-envsubst.nix. My actual GPG key is on my yubi.
-
nix-dram: Nix flakes with a modified frontend
Adding self to local registry is done here: https://github.com/balsoft/nixos-config/blob/master/modules/nix.nix#L6
-
Is there a way to use niv with NixOS configuration ?
Ok, just checked with that nix version and my nixos-config, and I can build my configuration without .git in it.
What are some alternatives?
When comparing sops-nix and nixos-config you can also consider the following projects:
agenix - age-encrypted secrets for NixOS and Home manager
digga - A flake utility library to craft shell-, home-, and hosts- environments.
vault-secrets - NixOS tooling for Hashicorp Vault
inkscape
nixfiles - My NixOS configuration and assorted other crap.
nix-profiles - Configuration profiles for x-truder networks
nixos-config - My NixOS configurations.
nixos-config - KISS NixOS configuration based on Flakes & flake-parts (supports macOS too)
morph - NixOS deployment tool
.dots - just my .dotfiles