From 1049fd49ed3e35b72db127709e7c2e661745ea8a Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Wed, 27 Apr 2016 10:56:40 +0800 Subject: systemd: add user target support This allows us to define system user targets in addition to the existing services, timers and sockets. Furthermore, we add a top-level configuration keyword: - Documentation --- nixos/modules/system/boot/systemd-unit-options.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nixos/modules/system/boot/systemd-unit-options.nix') diff --git a/nixos/modules/system/boot/systemd-unit-options.nix b/nixos/modules/system/boot/systemd-unit-options.nix index f4892244de4..731b1701e00 100644 --- a/nixos/modules/system/boot/systemd-unit-options.nix +++ b/nixos/modules/system/boot/systemd-unit-options.nix @@ -77,6 +77,12 @@ in rec { description = "Description of this unit used in systemd messages and progress indicators."; }; + documentation = mkOption { + default = []; + type = types.listOf types.str; + description = "A list of URIs referencing documentation for this unit or its configuration."; + }; + requires = mkOption { default = []; type = types.listOf types.str; -- cgit 1.4.1