Apparently you aren't allowed to define the same option in multiple modules, even if the definitions are identical.
options.nix