systemd: add support for creating target files
This commit is contained in:
parent
e4723b51cd
commit
06a24c37e5
|
@ -45,6 +45,12 @@ in
|
|||
description = "Definition of systemd per-user service units.";
|
||||
};
|
||||
|
||||
targets = mkOption {
|
||||
default = {};
|
||||
type = types.attrs;
|
||||
description = "Definition of systemd per-user targets";
|
||||
};
|
||||
|
||||
timers = mkOption {
|
||||
default = {};
|
||||
type = types.attrs;
|
||||
|
@ -58,6 +64,8 @@ in
|
|||
listToAttrs (
|
||||
(buildServices "service" config.systemd.user.services)
|
||||
++
|
||||
(buildServices "target" config.systemd.user.targets)
|
||||
++
|
||||
(buildServices "timer" config.systemd.user.timers)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue