mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
nixos: systemd.services.*.environment: fix type
This commit is contained in:
parent
44d612d6e5
commit
fb2a8d6669
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue