1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

nix: remove dgop input; expose quickshell package (#1183)

* nix: remove dgop input

* nix: update quickshell

* nix: expose quickshell in outputs
This commit is contained in:
Lucas
2025-12-27 22:41:26 -03:00
committed by GitHub
parent b1632a0a03
commit bbd57e0673
4 changed files with 24 additions and 37 deletions

View File

@@ -12,7 +12,7 @@ in
packages = [
dmsPkgs.dms-shell
]
++ lib.optional cfg.enableSystemMonitoring dmsPkgs.dgop
++ lib.optional cfg.enableSystemMonitoring cfg.dgop.package
++ lib.optionals cfg.enableVPN [
pkgs.glib
pkgs.networkmanager

View File

@@ -1,6 +1,7 @@
{
lib,
dmsPkgs,
pkgs,
...
}:
let
@@ -25,6 +26,7 @@ in
options.programs.dank-material-shell = {
enable = lib.mkEnableOption "DankMaterialShell";
systemd = {
enable = lib.mkEnableOption "DankMaterialShell systemd startup";
restartIfChanged = lib.mkOption {
@@ -33,34 +35,44 @@ in
description = "Auto-restart dms.service when dank-material-shell changes";
};
};
dgop = {
package = lib.mkPackageOption pkgs "dgop";
};
enableSystemMonitoring = lib.mkOption {
type = types.bool;
default = true;
description = "Add needed dependencies to use system monitoring widgets";
};
enableVPN = lib.mkOption {
type = types.bool;
default = true;
description = "Add needed dependencies to use the VPN widget";
};
enableDynamicTheming = lib.mkOption {
type = types.bool;
default = true;
description = "Add needed dependencies to have dynamic theming support";
};
enableAudioWavelength = lib.mkOption {
type = types.bool;
default = true;
description = "Add needed dependencies to have audio wavelength support";
};
enableCalendarEvents = lib.mkOption {
type = types.bool;
default = true;
description = "Add calendar events support via khal";
};
quickshell = {
package = lib.mkPackageOption dmsPkgs "quickshell" {
extraDescription = "The quickshell package to use (defaults to be built from source, in the commit 26531f due to unreleased features used by DMS).";
extraDescription = "The quickshell package to use (defaults to be built from source, due to unreleased features used by DMS).";
};
};