Giter Club home page Giter Club logo

Comments (1)

roberth avatar roberth commented on June 18, 2024

Systemd support seems decent enough, so this doesn't seem like an important feature anymore.
It's surely heavier than an S6 based solution, but a systemd-based solution seems more likely to work correctly. This is certainly not an inherit property of systemd. Rather, this has to do with the lack of an interface in NixOS for doing things without systemd, which results in tight coupling with it.

A safer path seems to be to modularize NixOS, so you can leave out parts like filesystem support and networking. Another improvement is to compile a systemd with fewer options enabled.

It's easy though

Of course, if anyone wants to contribute a PR that adds support for an alternative init system, that would be very welcome, and I believe that the way service configuration is set up should support that - just have a look at the nixos-init.nix module for an example. It's tiny, little more than a mkIf and image.command = [ "${config.nixos.build.toplevel}/init" ];. A new module could do the same, but differently.

from arion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.