Reference¶
This reference documentation provides detailed information about System Manager's features and configuration options.
Sections¶
CLI Commands¶
Command-line usage and all available subcommands: init, switch, register, build, deactivate, pre-populate, and sudo. Also covers optional local installation.
Configuration¶
How to organize your System Manager project: folder structure, file organization, workflows for getting started, managing /etc/nix/nix.conf, and running in non-interactive settings.
Modules¶
Writing .nix configuration modules: the flake.nix structure, managing systemd services, installing packages, creating /etc files, and configuring tmpfiles.
Remote Flakes¶
Hosting your configuration in a Git repository: understanding flake.lock, setting up remote hosting, and running System Manager from GitHub.
Blueprint¶
Using the Blueprint library with System Manager for a standardized project structure.
Examples¶
Complete, working examples:
- PostgreSQL - Database server setup
- Nginx - HTTP web server
- Nginx HTTPS - HTTPS with SSL certificates
- Custom App - Deploying a Bun/TypeScript application