You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
One idea is to export homeModules with systemd and launchd configurations and these can be imported and activated using home-manager in your configuration.
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 aprocess-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 thesystemd.service
. However, this seems laborious and there might be a better way to achieve this.The text was updated successfully, but these errors were encountered: