nixos: systemd.services.*.environment: fix type
This commit is contained in:
parent
44d612d6e5
commit
fb2a8d6669
@ -217,7 +217,7 @@ in rec {
|
||||
|
||||
environment = mkOption {
|
||||
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"; };
|
||||
description = "Environment variables passed to the service's processes.";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user