ALT-F4-LLC / kickstart.nix

Kickstart your Nix environment.
Apache License 2.0
171 stars 35 forks source link

NixOS & Darwin flake template testing #17

Closed hbjydev closed 11 months ago

hbjydev commented 11 months ago

This is working towards #16 -- currently contains the NixOS & Darwin components.

hbjydev commented 11 months ago

Successful Darwin build: https://github.com/hbjydev/kickstart.nix/actions/runs/7064326096/job/19232126508

Successful NixOS build: https://github.com/hbjydev/kickstart.nix/actions/runs/7064326104/job/19232126490

hbjydev commented 11 months ago

As reference for people who weren't on BG's stream today or in the Discord shortly after:

The TL;DR of this is that while, no, it doesn't apply the config (i.e. by 'activating' it with darwin-rebuild or nixos-rebuild), the derivation building successfully is the reproducible part of the build anyway, so by ensuring the derivation builds, we'll be able to know that there aren't any configuration errors anywhere. This will be useful for tasks like updating home-manager, where the API can change, and because the changelogs can be hard to grok, we don't know if it'll work or not out of the box. As well as checking contributor's changes don't break the derivation outright.