[Nix-dev] kexec-installer

Jörg Thalheim joerg at higgsboson.tk
Wed Dec 14 21:23:35 CET 2016


https://gist.github.com/Mic92/4fdf9a55131a7452f97003f445294f97

idea is adapted from clever, who is building other nice stuff currently in this area:

(https://imgur.com/a/GqdJL https://github.com/cleverca22/nix-tests/blob/master/kexec/configuration.nix#L57 https://gist.github.com/cleverca22/75e3db4dabeff05b743e9be77a2341b9#file-configuration-nix-L4-L19)

At least on nixos unstable kexec is currently broken though:
I have opened a pull request regarding that: https://github.com/NixOS/nixpkgs/pull/21158

This could be probably interesting for nixos in general - I think of a generic way to deploy nixos with nixops, if the provider does not offer other options.

On 2016-12-14 16:18, Thomas Hunger wrote:
> @Jörg - do you have a link to the kexec based installer?
>
> On 14 December 2016 at 15:00, Jörg Thalheim <joerg at higgsboson.tk <mailto:joerg at higgsboson.tk>> wrote:
>
>     I recently made some good experience with kexec based installer.
>
>     They can run basically run on every Linux out there.
>
>
>     On 2016-12-14 01:06, Jeaye wrote:
>     > I've been running a NixOS droplet on DigitalOcean, via nixos-in-place[1] for about a year. The process for getting it on there is janky, but it's smooth sailing afterward.
>     >
>     > 1: https://github.com/jeaye/nixos-in-place <https://github.com/jeaye/nixos-in-place>
>     >
>     > On Mon, Dec 12, 2016 at 02:30:07PM +0100, Alexandre Peyroux wrote:
>     >> Anyone tried on a scaleway instance?
>     >>
>     >> 2016-12-12 13:48 GMT+01:00 Profpatsch <mail at profpatsch.de <mailto:mail at profpatsch.de>>:
>     >>
>     >>> On 16-12-12 12:42pm, Azul wrote:
>     >>>> works on a 2GB 3quid/month OVH kvm instance, only had to rename eth to
>     >>> ens3
>     >>>> uname -a
>     >>>> Linux vps353091 4.4.36 #1-NixOS SMP Fri Dec 2 08:09:18 UTC 2016 x86_64
>     >>>> GNU/Linux
>     >>>>
>     >>>> nice one chaps
>     >>> Very cool!
>     >>>
>     >>> --
>     >>> 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
>     >>> nix-dev at lists.science.uu.nl <mailto:nix-dev at lists.science.uu.nl>
>     >>> http://lists.science.uu.nl/mailman/listinfo/nix-dev <http://lists.science.uu.nl/mailman/listinfo/nix-dev>
>     >>>
>     >> _______________________________________________
>     >> nix-dev mailing list
>     >> nix-dev at lists.science.uu.nl <mailto:nix-dev at lists.science.uu.nl>
>     >> http://lists.science.uu.nl/mailman/listinfo/nix-dev <http://lists.science.uu.nl/mailman/listinfo/nix-dev>
>     >
>     >
>     > _______________________________________________
>     > nix-dev mailing list
>     > nix-dev at lists.science.uu.nl <mailto:nix-dev at lists.science.uu.nl>
>     > http://lists.science.uu.nl/mailman/listinfo/nix-dev <http://lists.science.uu.nl/mailman/listinfo/nix-dev>
>
>
>
>     _______________________________________________
>     nix-dev mailing list
>     nix-dev at lists.science.uu.nl <mailto:nix-dev at lists.science.uu.nl>
>     http://lists.science.uu.nl/mailman/listinfo/nix-dev <http://lists.science.uu.nl/mailman/listinfo/nix-dev>
>
>




More information about the nix-dev mailing list