configs/emacs: actually set default to true
This commit is contained in:
parent
0e8c0932e2
commit
3b53902500
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user