diff --git a/modules/dev/editors/emacs/default.nix b/modules/dev/editors/emacs/default.nix index a2e2bb24..b9fae37a 100644 --- a/modules/dev/editors/emacs/default.nix +++ b/modules/dev/editors/emacs/default.nix @@ -22,14 +22,12 @@ with lib; let epkgs.exwm ]; }; - - emacsType = "pkgs.*"; in { options.modules.dev.editors.emacs = { enable = mkEnableOption false; daemon = mkEnableOption true; type = mkOption { - type = emacsType; + type = with types; str; default = "pkgs.emacs-unstable"; description = "pkgs. followed by the name of the emacs overlay package"; };