Skip to content

feat(settings): suppress the no settings warning based on env var#93

Merged
water-sucks merged 1 commit intonix-community:mainfrom
water-sucks:suppress-no-settings-warnings
Jul 17, 2025
Merged

feat(settings): suppress the no settings warning based on env var#93
water-sucks merged 1 commit intonix-community:mainfrom
water-sucks:suppress-no-settings-warnings

Conversation

@water-sucks
Copy link
Copy Markdown
Collaborator

Sometimes, on systems where a config.toml is expected not to exist, the warning about no configuration existing seems to pop up quite a lot, due to its init being so early in the program.

This introduces an environment variable that can suppress these warnings for clearer output, especially on systems where a settings file is expected to not exist, such as on installers or on non-NixOS systems.

@water-sucks water-sucks merged commit 183be79 into nix-community:main Jul 17, 2025
1 check passed
@water-sucks water-sucks deleted the suppress-no-settings-warnings branch July 17, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant