Skip to content

A daemon that can manage services declaratively using nix.

License

Notifications You must be signed in to change notification settings

https123456789/nix-service-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix Service Manager

A daemon that can manage services declaratively using nix.

Important

This project is still in heavy development. Don't expect stability from it.

Project Goals

  • Declarative service configuration with Nix.
  • Automatic updates from any git respository (not just GitHub).
  • Manual service updates/configuration
  • Simple to install, setup, and use

System Requirements

You will need to have the experimental nix-command feature turned on. See the Wiki for more info.

Configuration

You can run the daemon with the example configuration with:

cargo run -- --config example.nix daemon --start

Nix Evaluation

Since the new Nix C-API has not been stablized yet, nix eval is used instead to evaluate the configuration. You can check the status of the API's stabilization here.

Motivation

I use NixOS on my server and I was looking for a way to get declarative Continuous Deployment. Hydra is good for Continuous Integration but it does not do Continuous Deployment. Thus, I set out to create this project to fufill my needs.

About

A daemon that can manage services declaratively using nix.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published