1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-14 09:42:10 -04:00

nix: add plugins in NixOS module (#970)

* nix: remove unnecessary /etc/xdg/quickshell/dms and .config/quickshell/dms

* nix: add plugins in NixOS module
This commit is contained in:
Lucas
2025-12-11 05:03:22 -03:00
committed by GitHub
parent 1db3907838
commit d8cd15d361
4 changed files with 41 additions and 9 deletions

View File

@@ -9,8 +9,6 @@ let
cfg = config.programs.dankMaterialShell;
in
{
qmlPath = "${dmsPkgs.dms-shell}/share/quickshell/dms";
packages = [
dmsPkgs.dms-shell
]
@@ -27,4 +25,8 @@ in
++ lib.optional cfg.enableAudioWavelength pkgs.cava
++ lib.optional cfg.enableCalendarEvents pkgs.khal
++ lib.optional cfg.enableSystemSound pkgs.kdePackages.qtmultimedia;
plugins = lib.mapAttrs (name: plugin: {
source = plugin.src;
}) (lib.filterAttrs (n: v: v.enable) cfg.plugins);
}