diff options
author | Nicolas Pierron <nicolas.b.pierron@gmail.com> | 2011-07-27 20:55:35 +0000 |
---|---|---|
committer | Nicolas Pierron <nicolas.b.pierron@gmail.com> | 2011-07-27 20:55:35 +0000 |
commit | ef63ea98f4fd69d9ebf83fda3004de2307974218 (patch) | |
tree | 3a48d5b43e612aa43109600955f298171dcd221f /modules/tasks | |
parent | e231543033135479f1ae881c70f760845c928be0 (diff) | |
download | nixpkgs-ef63ea98f4fd69d9ebf83fda3004de2307974218.tar nixpkgs-ef63ea98f4fd69d9ebf83fda3004de2307974218.tar.gz nixpkgs-ef63ea98f4fd69d9ebf83fda3004de2307974218.tar.bz2 nixpkgs-ef63ea98f4fd69d9ebf83fda3004de2307974218.tar.lz nixpkgs-ef63ea98f4fd69d9ebf83fda3004de2307974218.tar.xz nixpkgs-ef63ea98f4fd69d9ebf83fda3004de2307974218.tar.zst nixpkgs-ef63ea98f4fd69d9ebf83fda3004de2307974218.zip |
Experiment with dual option types (list & attribute sets).
svn path=/nixos/trunk/; revision=27978
Diffstat (limited to 'modules/tasks')
-rw-r--r-- | modules/tasks/filesystems.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/tasks/filesystems.nix b/modules/tasks/filesystems.nix index 699e9b3c33c..053597a1a5d 100644 --- a/modules/tasks/filesystems.nix +++ b/modules/tasks/filesystems.nix @@ -50,7 +50,8 @@ in <command>mkdir -p</command> . "; - type = types.nullOr (types.list types.optionSet); + type = types.nullOr (types.loaOf types.optionSet); + apply = x: attrValues x; options = { |