Add default settings file support for Dank Material Shell (DMS)

- Introduced a new option `defaultSettingsFile` in the DMS configuration to allow host-specific first-run settings.
- Updated the home-manager module to read from the specified settings file if provided, otherwise falling back to the bundled defaults.
- Enhanced the documentation in the default settings file to clarify its purpose and usage.
This commit is contained in:
2026-06-20 21:39:48 -03:00
parent de1f9fc770
commit 02c6b3a45f
5 changed files with 709 additions and 6 deletions
@@ -1,5 +1,6 @@
# Defaults written once to ~/.config/DankMaterialShell/settings.json on first login.
# After that, DMS settings are owned by the UI — rebuilds do not overwrite them.
# Generic defaults written once to ~/.config/DankMaterialShell/settings.json on first login.
# Hosts can override via `chiasson.desktop.shells.dms.defaultSettingsFile` (see 14900k).
# After seeding, DMS settings are owned by the UI — rebuilds do not overwrite them.
{
lib,
gpuTempEnabled ? true,