This commit is contained in:
Sakooooo 2024-02-14 20:30:24 +04:00
parent 51f46858fe
commit 4e18b1150f
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

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