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

This commit is contained in:
Moraxyc Xu authored and GitHub committed 2025-10-22 22:46:15 -04:00
1 parent 95785afec9
commit b2e5565110
1 file changed
+3
+3
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";