Work on properly implementing the activation of systemd services.

This commit is contained in:
R-VdP 2023-02-09 15:04:27 +00:00
parent c3be9ceb19
commit 9aa059887b
No known key found for this signature in database
10 changed files with 205 additions and 86 deletions

View file

@ -33,13 +33,13 @@ let
in
{
options = {
service-manager.services = lib.mkOption {
system-manager.services = lib.mkOption {
type = with lib.types; listOf str;
};
};
config = {
service-manager.services = lib.attrNames services;
system-manager.services = lib.attrNames services;
systemd = { inherit services; };
};
}