nix-daemon: add maxCores option