Files
m3ta-home/profiles/contexts/desktop/wm/dms.nix
T
m3tam3re 89877589db fix(dms): drop dankBatteryAlerts plugin, now builtin to DMS
dms-plugin-registry removed dankBatteryAlerts in 098a7f6 ('remove
builtin plugins') because DMS stable ships battery alerts natively
(BatteryService.qml: low/critical/charge-limit notifications).
Enabling the plugin without a registry-provided src made the
required plugins.dankBatteryAlerts.src option undefined, breaking
nixos builds that import the desktop profile.
2026-10-11 14:27:38 +02:00

31 lines
857 B
Nix

# DankMaterialShell user-session configuration.
# External DMS Home-Manager modules are imported by mkHome/modules/default.nix
# so this file only owns the m3ta-home feature flag and desired defaults.
{
config,
lib,
...
}:
with lib; let
cfg = config.desktop.wm.dms;
in {
options.desktop.wm.dms.enable = mkEnableOption "DankMaterialShell desktop shell";
config = mkIf cfg.enable {
programs.dank-material-shell = {
enable = true;
systemd.enable = true;
enableDynamicTheming = true;
enableClipboardPaste = true;
# NOTE: dankBatteryAlerts was removed from dms-plugin-registry; battery
# alerts (low/critical/charge-limit) are builtin to DMS since stable.
plugins = {
emojiLauncher.enable = true;
dankPomodoroTimer.enable = true;
dankVault.enable = true;
};
};
};
}