mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
* default.nix: fix "wavelength" typo * Add nixos module typo fix * nix: refactor and fix nix modules * nix: fix NixOS module import * nix: revert quickshell option change * nix: fix nixosModules dmsPkgs definition --------- Co-authored-by: LuckShiba <luckshiba@protonmail.com>
69 lines
2.3 KiB
Nix
69 lines
2.3 KiB
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) types;
|
|
in {
|
|
options.programs.dankMaterialShell = {
|
|
enable = lib.mkEnableOption "DankMaterialShell";
|
|
|
|
systemd = {
|
|
enable = lib.mkEnableOption "DankMaterialShell systemd startup";
|
|
restartIfChanged = lib.mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = "Auto-restart dms.service when dankMaterialShell changes";
|
|
};
|
|
};
|
|
enableSystemMonitoring = lib.mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = "Add needed dependencies to use system monitoring widgets";
|
|
};
|
|
enableClipboard = lib.mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = "Add needed dependencies to use the clipboard widget";
|
|
};
|
|
enableVPN = lib.mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = "Add needed dependencies to use the VPN widget";
|
|
};
|
|
enableBrightnessControl = lib.mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = "Add needed dependencies to have brightness/backlight support";
|
|
};
|
|
enableColorPicker = lib.mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = "Add needed dependencies to have color picking support";
|
|
};
|
|
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";
|
|
};
|
|
enableSystemSound = lib.mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = "Add needed dependencies to have system sound support";
|
|
};
|
|
quickshell = {
|
|
package = lib.mkPackageOption pkgs "quickshell" {};
|
|
};
|
|
};
|
|
}
|