[Nix-dev] Gratuitous generations

Christian Theune ct at flyingcircus.io
Mon Mar 30 14:45:29 CEST 2015


Hi,

last year I experimented with self-managing NixOS installations. One thing that I stumbled upon was that regularly triggering nixos-rebuild would create new generations even though the config hadn’t changed.

Is there a way to suppress that or a reason why this can’t be suppressed in general?

What I want is to create a simple cronjob that generates Nix OS configuration from an upstream “source of truth”, like users, and not think about convergence but just trigger nixos-rebuild after updating the config. If nothing changed then no new generation should appear IMHO.

Thoughts?

Christian

—
Christian Theune · ct at flyingcircus.io · +49 345 219401 0
Flying Circus Internet Operations GmbH · http://flyingcircus.io
Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune, Christian. Zagrodnick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150330/6b0d20fd/attachment.bin 


More information about the nix-dev mailing list