diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-05-13 01:15:37 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-05-13 01:15:37 +0000 |
commit | fb2a8d66699c96d6a687eb71ebfcca08e3405037 (patch) | |
tree | 036439472ada3b356323c26bb8098af768acca8f /nixos/modules/system/boot/systemd-unit-options.nix | |
parent | 44d612d6e5188cf6fcb3f2fefb0116e2c979e9c3 (diff) | |
download | nixpkgs-fb2a8d66699c96d6a687eb71ebfcca08e3405037.tar nixpkgs-fb2a8d66699c96d6a687eb71ebfcca08e3405037.tar.gz nixpkgs-fb2a8d66699c96d6a687eb71ebfcca08e3405037.tar.bz2 nixpkgs-fb2a8d66699c96d6a687eb71ebfcca08e3405037.tar.lz nixpkgs-fb2a8d66699c96d6a687eb71ebfcca08e3405037.tar.xz nixpkgs-fb2a8d66699c96d6a687eb71ebfcca08e3405037.tar.zst nixpkgs-fb2a8d66699c96d6a687eb71ebfcca08e3405037.zip |
nixos: systemd.services.*.environment: fix type
Diffstat (limited to 'nixos/modules/system/boot/systemd-unit-options.nix')
-rw-r--r-- | nixos/modules/system/boot/systemd-unit-options.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd-unit-options.nix b/nixos/modules/system/boot/systemd-unit-options.nix index 5255f1a1b97..2cff25a8c85 100644 --- a/nixos/modules/system/boot/systemd-unit-options.nix +++ b/nixos/modules/system/boot/systemd-unit-options.nix @@ -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."; }; |