Nix framework for common development and infrastructure tooling like:
- Managing infrastructure declaratively with OpenTofu through terranix
- Administering kubernetes clusters with kubenix
- Deploying Nix profiles (i.e. NixOS, nix-darwin, home-manager, etc.)
- Package derivations with dream2nix
- Container building and running with docker-compose through arion
- Running packages as services locally using process-compose
- Running development commands easily with just shorthand
- Configure git hooks with pre-commit
- Start a new project with
nix flake init --template github:schradert/canivete
- Open the project shell by entering project directory and running
nix develop
- See available commands by running
just
This repo supports building and deploy system configurations with nixos
, nix-darwin
, nix-on-droid
, and home-manager
.
Initial installation is slightly trickier, but this is accomplished in the following ways:
- On Linux, we use
nixos-anywhere
to installnixos
profiles withdisko
partitioning remotely - On Darwin and Linux without
nixos
, we assumenix
is already installed - On Android, you must install
nix-on-droid
In each case, SSH access is necessary and nixos-anywhere
requires root access