On 17-03-19 05:55pm, Alexander V. Nikolaev wrote: > I think we can re-use pre-serialised `systemd.services` attrset, using > it for emitting plain sysvinit scripts, or runit scripts. And may be > later introduce new intermediate layer here.
Since (say what you want) systemd service attributes are mostly quite semantic in their function, the may already be a fine choice of interface, even for other init systems/supervisors. Compare how it is possible to map the kernelmodule arguments to networkd options: https://github.com/NixOS/nixpkgs/pull/22388/files#diff-c89412e680a245d4d20968580b84f47dR121 -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A: http://five.sentenc.es May take up to five days to read your message. If it’s urgent, call me. _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
