feat: Remove Doom Emacs and Spacemacs
This commit is contained in:
parent
d62f71605a
commit
6301d36798
10 changed files with 50 additions and 653 deletions
|
|
@ -54,7 +54,6 @@
|
|||
zen-browser.enable = true;
|
||||
openssh.enable = true;
|
||||
helix.enable = true;
|
||||
# spacemacs.enable = true;
|
||||
radicle.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,48 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
inherit (inputs) nixpkgs emacs-overlay spacemacs;
|
||||
inherit (pkgs) system;
|
||||
cfg = config.david.programs.spacemacs;
|
||||
pkgs' = import nixpkgs {
|
||||
localSystem = {inherit system;};
|
||||
overlays = [emacs-overlay.overlays.default];
|
||||
};
|
||||
in {
|
||||
options = {
|
||||
david.programs.spacemacs = {
|
||||
enable = lib.mkEnableOption "spacemacs";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
stylix.targets.emacs.enable = false;
|
||||
xdg.configFile = {
|
||||
emacs = {
|
||||
source = "${spacemacs}";
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
package = with pkgs';
|
||||
(emacsPackagesFor emacs-pgtk).emacsWithPackages (_epkgs: [
|
||||
git
|
||||
gnutar
|
||||
ripgrep
|
||||
]);
|
||||
};
|
||||
services.emacs = {
|
||||
client = {
|
||||
enable = true;
|
||||
};
|
||||
defaultEditor = false;
|
||||
enable = true;
|
||||
socketActivation.enable = true;
|
||||
startWithUserSession = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue