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
Export configuration for backends other than process-compose. For example, systemd (for Linux) and launchd (for macOS) configurations exported under homeModules.
services are currently hardwired to be defined inside a process-compose module. It doesn’t make sense anymore if we are to support “Portable Services". Probably perSystem.services.<service-name> (A breaking change but we could do a 1.0 after this providing a migration script)? Edit: nevermind, this only matters if we are to reuse the definitions of process-compose to define configs for other process managers.
Instead of each service module defining config.outputs.settings.processes… (process-compose-flake specific), they could configure common settings that will be used by all the process-managers. Similar to the one proposed in the PR above: process.executable = "${lib.getExe config.foo.program}”;.
Use _class = "service”; for basic type-checking, but maybe something dynamic like _class = “services-flake-<process-manager>” to prevent merging of, let’s say, process-compose config with systemd one’s.
Export configuration for backends other than
process-compose
. For example,systemd
(for Linux) andlaunchd
(for macOS) configurations exported underhomeModules
.Related:
systemd.service
? #239The text was updated successfully, but these errors were encountered: