nixos: systemd.services.*.environment: fix type

This commit is contained in:
Jan Malakhovski 2018-05-13 01:15:37 +00:00
parent 44d612d6e5
commit fb2a8d6669

View File

@ -217,7 +217,7 @@ in rec {
environment = mkOption { environment = mkOption {
default = {}; default = {};
type = with types; attrsOf (nullOr (either str package)); type = with types; attrsOf (nullOr (either str (either path package)));
example = { PATH = "/foo/bar/bin"; LANG = "nl_NL.UTF-8"; }; example = { PATH = "/foo/bar/bin"; LANG = "nl_NL.UTF-8"; };
description = "Environment variables passed to the service's processes."; description = "Environment variables passed to the service's processes.";
}; };