nixos-option: fixes as suggested by @nbp