From b2e55651103b60f494d0a9e2cba9012168c83cb6 Mon Sep 17 00:00:00 2001 From: Moraxyc Xu Date: Thu, 23 Oct 2025 10:46:15 +0800 Subject: [PATCH] nix: use standard way to remove option (#529) --- nix/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix/default.nix b/nix/default.nix index 06a907d0..4c79b4e1 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -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";