diff --git a/modules/systemd.nix b/modules/systemd.nix index 5e7cc6b43..6ea8b21c4 100644 --- a/modules/systemd.nix +++ b/modules/systemd.nix @@ -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) );