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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user