This repo stores nix configuration to manage my hosts running NixOS and macOS.
The configuration is very specific to my own machines and setup, but it may be a useful reference for anyone else learning or experimenting with nix, whether it be on a personal workstation or a server environment.
flowchart TD
flake["flake.nix"]
flake --> nixos["nixosConfigurations"]
flake --> darwin["darwinConfigurations"]
nixos --> hephaestus["hephaestus (NixOS)"]
darwin --> kratos["kratos (macOS)"]
darwin --> helios["helios (macOS)"]
hephaestus --> hostA["hosts/hephaestus.nix"]
kratos --> hostK["hosts/kratos.nix"]
helios --> hostHe["hosts/helios.nix"]
hostA --> hm["home-manager (./home)"]
hostK --> hm
hostHe --> hm
- NixOS (Linux)
- Determinate Nix (macOS)
- just
To run a build/rebuild:
just rebuildUpdates are proposed by renovate. To build the system, checkout the renovate PR and run just rebuild.
If the build is stable, run just merge-pr.
Run just to view the current recipes and their descriptions.