juspay / juspay/services-flake

Question: How to use `systemd.service` ?

Open
#239 3 comments 2 reactions 0 assignees View on GitHub
question
Dominant language
Nix
Stars
768
Forks
69
Avg merge
7d 20h
Merged PRs (30d)
5

Description

Has anyone thought of a good way to share the same code that creates a `systemd.service` in a NixOS system configuration with a service in a flake? I want to have a NixOS system configuration with many services running across all the systems I manage. Additionally, I want to create a `process-compose` package in my system flake that can set up a development environment with the exact same services.

One idea I had was to rework my services into `writeShellApplication` scripts that get executed by the `systemd.service`. However, this seems laborious and there might be a better way to achieve this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.