summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd-unit-options.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-14 10:57:33 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-14 10:57:33 -0400
commit8e891e6ed47c6cffd9ebab6cce0835cb5f0a9b25 (patch)
treef6498b73e5b1201d1af141b53913d996d5f187a9 /nixos/modules/system/boot/systemd-unit-options.nix
parent3a4eda2e38fd80e6c9bd36606e9da16a47e41922 (diff)
parent640c9779968bb98a047aa2d59770a7d3daa35871 (diff)
downloadnixlib-8e891e6ed47c6cffd9ebab6cce0835cb5f0a9b25.tar
nixlib-8e891e6ed47c6cffd9ebab6cce0835cb5f0a9b25.tar.gz
nixlib-8e891e6ed47c6cffd9ebab6cce0835cb5f0a9b25.tar.bz2
nixlib-8e891e6ed47c6cffd9ebab6cce0835cb5f0a9b25.tar.lz
nixlib-8e891e6ed47c6cffd9ebab6cce0835cb5f0a9b25.tar.xz
nixlib-8e891e6ed47c6cffd9ebab6cce0835cb5f0a9b25.tar.zst
nixlib-8e891e6ed47c6cffd9ebab6cce0835cb5f0a9b25.zip
Merge remote-tracking branch 'upstream/master' into staging
Diffstat (limited to 'nixos/modules/system/boot/systemd-unit-options.nix')
-rw-r--r--nixos/modules/system/boot/systemd-unit-options.nix2
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 5255f1a1b97a..2cff25a8c854 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.";
     };