about summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-12-27 21:09:10 -0500
committerfigsoda <figsoda@pm.me>2022-12-27 21:09:10 -0500
commit9d7339877a6d615fad1a0dd488e9d2dc7197fa63 (patch)
tree768bff8dc89539840cd4706aea7834b2801343bc /nixos/modules/config
parenta99848025d5dd0d9101ab944aaac4a4552cfccd7 (diff)
nixos/environment: fix variables type
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/shells-environment.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/shells-environment.nix b/nixos/modules/config/shells-environment.nix
index d5ec420f30445..bc6583442edf2 100644
--- a/nixos/modules/config/shells-environment.nix
+++ b/nixos/modules/config/shells-environment.nix
@@ -42,7 +42,7 @@ in
         strings.  The latter is concatenated, interspersed with colon
         characters.
       '';
-      type = with types; attrsOf (oneOf [ str path (listOf str) ]);
+      type = with types; attrsOf (oneOf [ (listOf str) str path ]);
       apply = mapAttrs (n: v: if isList v then concatStringsSep ":" v else "${v}");
     };