nix-config/README.md
2025-12-06 16:59:15 +01:00

29 lines
936 B
Markdown

# Nix
The flake-based nix configuration I use for my servers and personal computing devices:
- `dnsc-air` (nix-darwin)
- `dnsc-work` (nix-darwin)
- `dnsc-deck` (nix package/configuration management on Steam Deck)
- `dnsc-server` (NixOS)
- `dnsc-vps-sm` (nixOS)
## Modules
Shared functionality can be found in the `./modules` directory. The modules are just included in the relevant host configuration.
## Home Manager
In addition to the system configuration in `./hosts` I use `home-manager` to handle user-specific configuration (`./home`).
## Secrets
Secrets are managed with `agenix`. A step-by-step tutorial is included as a comment in the main secrets file.
## Commands
Because Nix-CLI commands can get a bit unwieldy (at least as how I use them currently) I've added a `Justfile` with commands to deploy changes and update packages and flakes.
## TODO
- [ ] Modularize server configs (`dnsc-vps-sm` and `dnsc-server`)