# 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; }; }; }; }