conditioned controller to run in a nix environment