test
This commit is contained in:
@@ -47,8 +47,8 @@
|
||||
|
||||
# Platform-aware session variables
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "nvim";
|
||||
EDITOR = lib.mkDefault "nvim";
|
||||
VISUAL = lib.mkDefault "nvim";
|
||||
} // lib.optionalAttrs pkgs.stdenv.isDarwin {
|
||||
# macOS-specific environment variables
|
||||
} // lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
|
||||
@@ -61,10 +61,10 @@ in {
|
||||
|
||||
# Emacs daemon service (optional - uncomment to enable)
|
||||
# When programs.doom-emacs.provideEmacs = true, this uses Doom Emacs
|
||||
# services.emacs = {
|
||||
# enable = true;
|
||||
# defaultEditor = true;
|
||||
# };
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
};
|
||||
|
||||
# Ensure doom directories exist
|
||||
home.file.".local/share/nix-doom/.keep".text = "";
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
defaultEditor = true;
|
||||
defaultEditor = false;
|
||||
|
||||
# External tools needed by plugins
|
||||
extraPackages = with pkgs; [
|
||||
|
||||
Reference in New Issue
Block a user