1 Matching Annotations
- Jun 2020
The easiest way I've found to manage that is to copy hardware-configuration.nix and a minimal version of configuration.nix and import it into the NixOps config for the corresponding machine. (I keep them in a git submodule, but keeping them in the same repo could also make sense.) 1 Pick your reaction
If I understood it correctly, take the
hardware-configration.nixfrom the target machine, and put it into the NixOps config.
Also relevant: Minimal NixOS config for Nixops deployment (discourse)