diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2019-08-08 23:35:52 +0200 |
---|---|---|
committer | Silvan Mosberger <infinisil@icloud.com> | 2019-08-08 23:35:52 +0200 |
commit | 88bb9fa4037c7cda4cb2fb94792d17e44fd55a18 (patch) | |
tree | 345ed265f87a0029ebd453bc3551e51ec9ea45f7 /nixos/modules/system/boot/systemd.nix | |
parent | 9a44f44d4c0d33775b63ad9dd387fd77f810074e (diff) | |
download | nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.gz nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.bz2 nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.lz nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.xz nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.tar.zst nixpkgs-88bb9fa4037c7cda4cb2fb94792d17e44fd55a18.zip |
nixos/modules: Replace all nested types.either's with types.oneOf's
Diffstat (limited to 'nixos/modules/system/boot/systemd.nix')
-rw-r--r-- | nixos/modules/system/boot/systemd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index cf35504e518..0393291c0c3 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -520,7 +520,7 @@ in }; systemd.globalEnvironment = mkOption { - type = with types; attrsOf (nullOr (either str (either path package))); + type = with types; attrsOf (nullOr (oneOf [ str path package ])); default = {}; example = { TZ = "CET"; }; description = '' |