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

nix: use standard way to remove option (#529)

This commit is contained in:
Moraxyc Xu
2025-10-23 10:46:15 +08:00
committed by GitHub
parent 95785afec9
commit b2e5565110

View File

@@ -8,6 +8,9 @@
cfg = config.programs.dankMaterialShell;
jsonFormat = pkgs.formats.json { };
in {
imports = [
(lib.mkRemovedOptionModule ["programs" "dankMaterialShell" "enableNightMode"] "Night mode is now always available.")
];
options.programs.dankMaterialShell = with lib.types; {
enable = lib.mkEnableOption "DankMaterialShell";