diff options
author | Shea Levy <shea@shealevy.com> | 2014-02-11 14:59:24 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-02-11 14:59:24 -0500 |
commit | 3f70dabad320b115d586a59db8cca05c7f3b7c75 (patch) | |
tree | fd1481aa01185ee013cb9f45a94873ee7a788a36 /nixos | |
parent | 8764758044b0425de54228d87cc68a4ed6d4d414 (diff) | |
download | nixlib-3f70dabad320b115d586a59db8cca05c7f3b7c75.tar nixlib-3f70dabad320b115d586a59db8cca05c7f3b7c75.tar.gz nixlib-3f70dabad320b115d586a59db8cca05c7f3b7c75.tar.bz2 nixlib-3f70dabad320b115d586a59db8cca05c7f3b7c75.tar.lz nixlib-3f70dabad320b115d586a59db8cca05c7f3b7c75.tar.xz nixlib-3f70dabad320b115d586a59db8cca05c7f3b7c75.tar.zst nixlib-3f70dabad320b115d586a59db8cca05c7f3b7c75.zip |
Add heterogeneousAttrsOf option type
It is parameterized by a function that takes a name and evaluates to the option type for the attribute of that name. Together with submoduleWithExtraArgs, this subsumes nixosSubmodule.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/virtualisation/containers.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/containers.nix b/nixos/modules/virtualisation/containers.nix index 531ee5596630..99451e2bd3cd 100644 --- a/nixos/modules/virtualisation/containers.nix +++ b/nixos/modules/virtualisation/containers.nix @@ -15,7 +15,6 @@ with pkgs.lib; }; systemd.containers = mkOption { - # !!! Should probably use nixosSubmodule here type = types.attrsOf (types.submodule ( { config, options, name, ... }: { |