Open jjant opened 11 months ago
nix build ~/.nixpkgs#darwinConfigurations."${HOSTNAME}".system
at least that's what I do: https://github.com/kubukoz/nix-config/blob/65496c3f3ff50076eed9b523462606dc2cbee34d/compare.sh
I want the nix object/record, not the built artifacts (directory tree).
If you want to explore it, you can do nix repl .#darwinConfigurations.simple.config
I don't think a nix-darwin/NixOS configuration object is fully serializable, see: https://discourse.nixos.org/t/print-flake-system-configuration-as-json/14199/4
I was looking for a way to "evaluate" my configuration, to basically get a nix record out of my flake with all the configuration I've set:
nix do the thing .#darwinConfigurations
Is this possible?