configs/emacs: actually set default to true

This commit is contained in:
Aaron Bieber 2024-10-01 07:23:59 -06:00
parent 0e8c0932e2
commit 3b53902500
No known key found for this signature in database

View File

@ -18,10 +18,12 @@ in
{ {
options = { options = {
myEmacs = { myEmacs = {
enable = lib.mkEnableOption "Enable my emacs stuff"; enable = lib.mkOption {
description = "Enable my emacs stuff";
default = true; default = true;
}; };
}; };
};
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment = { environment = {
variables.EDITOR = lib.mkOverride 900 "emacseditor"; variables.EDITOR = lib.mkOverride 900 "emacseditor";