anchor.diff:          idempotent and fast.
         '';
   
  -      type = types.attrsOf types.unspecified; # FIXME
  +      type = types.attrsOf scriptType;
   
         apply = set: {
           script =
  
positive.code:         idempotent and fast.
        '';
  
        type = types.attrsOf types.unspecified;
  
        apply = set: {
          script = ''
  
negative.code:       utillinux # needed for mount and mountpoint
      ];
  
    scriptType = with types;
      let scriptOptions =
        { deps = mkOption
            { type = types.listOf types.str;
              default = [ ];
              description = "List of dependencies. The script will run after these.";
            };
          text = mkOption
            { type = types.lines;
              description = "The content of the script.";
            };
        };
      in either str (submodule { options = scriptOptions; });
  
  in
  
  {
  