file permissions for nix installer and if guards for gui options