nixos/systemd-user: add generators option

This commit is contained in:
Dawid Dziurla
2024-05-30 19:51:42 +02:00
parent bebc70c2e7
commit 156757eaf7
@@ -144,6 +144,18 @@ in {
};
};
systemd.user.generators = mkOption {
type = types.attrsOf types.path;
default = {};
example = { systemd-gpt-auto-generator = "/dev/null"; };
description = ''
Definition of systemd generators; see {manpage}`systemd.generator(5)`.
For each `NAME = VALUE` pair of the attrSet, a link is generated from
`/etc/systemd/user-generators/NAME` to `VALUE`.
'';
};
systemd.additionalUpstreamUserUnits = mkOption {
default = [];
type = types.listOf types.str;