Is it possible to unset an attrsOf option? Say I import a module that looks like this:

options = {
  myattrs = mkOption {
    type = types.attrsOf ...
    default = {};
  };
}

config = {
  myattrs = {
    a = ...
    b = ...
  };
};

And then I want to remove the "a" attribute in the importing config:

config = {
  myattrs.a = mkForce ...
}

Is that possible in any way?


  / Rickard
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to