nixos/README.md
2022-06-15 21:14:59 +02:00

33 lines
726 B
Markdown

# 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
```