# nixos-config [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org) This repository holds my NixOS configuration. It is fully reproducible, flakes based, and position-independent, meaning there is no moving around of `configuration.nix`. Deployment is done using [deploy-rs](https://github.com/serokell/deploy-rs), see [usage](#usage). Secret are managed using [sops-nix](https://github.com/Mic92/sops-nix). ## structure ``` . ├── nixos # Machine definitions └── legacy # older scripts kept before having an iso-image ``` ## usage updating: ```bash nix flake update ``` deployment: ```bash deploy .#myHost ``` secrets: ```bash sops ./nixos/myHost/secrets.yaml ``` ## inspired by - [deploy hugo with nix](https://ayats.org/blog/flake-blog/) - [Nixos dotfiles Mic92](https://github.com/Mic92/dotfiles) - [Nixos dotfiles pborzenkov](https://github.com/pborzenkov/nix-config) - [Nixos dotfiles by nyanloutre](https://gitea.nyanlout.re/nyanloutre/nixos-config) - [deploy-rs by disassembler](https://samleathers.com/posts/2022-02-03-my-new-network-and-deploy-rs.html)