Stop using emacs at all

This commit is contained in:
Smaug123
2021-09-12 23:03:54 +01:00
parent a46c3ac058
commit d9a173642f
2 changed files with 14 additions and 12 deletions

View File

@@ -191,12 +191,6 @@ in
python
];
nixpkgs.overlays = [
(import (builtins.fetchTarball {
url = https://github.com/nix-community/emacs-overlay/archive/8ed671dab09f08e8079e24f9fc7800b7ce260fa2.tar.gz;
}))
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"vscode"
"vscode-with-extensions"
@@ -209,7 +203,14 @@ in
# Use a custom configuration.nix location.
# $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix
# environment.darwinConfig = "$HOME/.config/nixpkgs/darwin/configuration.nix";
#environment.darwinConfig = "$HOME/.nixpkgs/darwin-configuration.nix";
# TODO: get Spacemacs actually working
#nixpkgs.overlays = [
# (import (builtins.fetchTarball {
# url = https://github.com/nix-community/emacs-overlay/archive/8ed671dab09f08e8079e24f9fc7800b7ce260fa2.tar.gz;
# }))
#];
# Auto upgrade nix package and the daemon service.
# services.nix-daemon.enable = true;

View File

@@ -38,11 +38,6 @@
pkgs.ripgrep
];
programs.emacs = {
enable = true;
package = pkgs.emacsGcc;
};
programs.tmux = {
shell = "\${pkgs.zsh}/bin/zsh";
};
@@ -128,6 +123,12 @@ let g:syntastic_check_on_wq = 0''; }
home.file.".config/youtube-dl/config".source = ./youtube-dl.conf;
#programs.emacs = {
# enable = true;
# package = pkgs.emacsGcc;
#};
#home.file.".emacs.d" = {
# # don't make the directory read only so that impure melpa can still happen
# # for now