1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-15 10:12:07 -04:00

nix: refactor module structure and flake output (#1014)

- The program module is now called dank-material-shell
- The homeModules structure is flattened
This commit is contained in:
musjj
2025-12-17 18:12:30 +07:00
committed by GitHub
parent b7911475b6
commit d082d41ab9
10 changed files with 54 additions and 23 deletions

View File

@@ -7,7 +7,7 @@ let
inherit (lib) types;
path = [
"programs"
"dankMaterialShell"
"dank-material-shell"
];
builtInRemovedMsg = "This is now built-in in DMS and doesn't need additional dependencies.";
@@ -20,16 +20,17 @@ in
(lib.mkRemovedOptionModule (
path ++ [ "enableSystemSound" ]
) "qtmultimedia is now included on dms-shell package.")
./dms-rename.nix
];
options.programs.dankMaterialShell = {
options.programs.dank-material-shell = {
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";
description = "Auto-restart dms.service when dank-material-shell changes";
};
};
enableSystemMonitoring = lib.mkOption {