.dots
krops
.dots | krops | |
---|---|---|
26 | 2 | |
165 | 129 | |
- | 3.9% | |
9.2 | 3.5 | |
3 days ago | 4 months ago | |
Nix | Nix | |
MIT License | Do What The F*ck You Want To Public 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.
.dots
-
Fish and nix develop question
I have a wrapper function that just maps to dev to make life easier: https://github.com/dmadisetti/.dots/blob/template/dot/config/fish/functions/develop.fish
-
Possible to make a machine independent NixOS configuration/flake?
Never fully got it to work, so I just encrypt my secrets when I build my isos: https://github.com/dmadisetti/.dots/actions/runs/5055636638/jobs/9072093945
-
Hardware configuration in nix flake dotfiles?
I have multiple files for each machine based on hostname. I have CI strip my config of all system specific information for general distribution. For reference: https://github.com/dmadisetti/.dots
-
Using current flake setup with WSL2
I build a wsl image: https://github.com/dmadisetti/.dots/blob/template/nix/machines/wsl.nix
- Diving straight into flakes with no channels?
-
how to store secrets needed at install time
What I do: Keep secrets in a separate git repo as a flake, and have a stub flake, that can be overridden: https://github.com/dmadisetti/.dots/tree/template/nix/spoof
-
Rice NixOS?
My dots
-
(maybe) ex arch user need some help to understand
I have a script that will symlink my dotfiles in (github:dmadisetti/.dots/setup.sh), because you also end up with weird RO permissions if you do it through Nix. I think this is fine. It also means that you aren't stuck with Nix
-
Have a shell command in configuration.nix that runs on nixos-rebuild
The way I manage multiple systems is with a wrapper: https://github.com/dmadisetti/.dots/blob/template/dot/config/fish/functions/snix.fish
-
Arch user, convince me to hop to Nix
The only thing that is semi manual is setting up disks on first install (something you'd still have to do with arch). You can still script that: https://github.com/dmadisetti/.dots/blob/template/scripts/run-install.nix.sh
krops
-
Ask HN: Who operates at scale without containers?
For others interested in deploying like this, this approach sounds exactly like what krops does. Krops is similar to Morph, except it does the derivative building on the remote host.
It is very simple and works great. Deploying from macOS to NixOS is possible as well.
https://github.com/krebs/krops
https://tech.ingolf-wagner.de/nixos/krops/
-
Do you all just git init inside your /etc/nixos directory?
I just use krops with flakes. It provides all I need and is a lot simpler than NixOps while being stateless
What are some alternatives?
deploy-rs - A simple multi-profile Nix-flake deploy tool.
nixfiles - My NixOS configuration and assorted other crap.
nixos-config - My NixOS configurations.
multi-env-deploy - Complete example of deploying complex web apps to AWS using Terraform, Ansible, and Packer
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!
distroless - 🥑 Language focused docker images, minus the operating system.
riff-raff - The Guardian's deployment platform
nixcfg - My nix configuration(s), using flakes. It's my laptop, it's my servers, it's my everything, in code.
Dotfiles.nix - My reproducible system config made with nix
schematic