Remove spacemacs

This commit is contained in:
Kiana Sheibani 2022-05-29 19:15:50 -04:00
parent 14bab00e42
commit 1534de49b4
4 changed files with 7 additions and 15 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, emacs-overlay, ... }:
let let
# nix-direnv with flake support # nix-direnv with flake support
nix-direnv-with-flakes = pkgs.nix-direnv.override { enableFlakes = true; }; nix-direnv-with-flakes = pkgs.nix-direnv.override { enableFlakes = true; };
@ -25,7 +25,6 @@ in {
slurp slurp
imv imv
emacs28
direnv direnv
nix-direnv-with-flakes nix-direnv-with-flakes
]; ];
@ -37,6 +36,10 @@ in {
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
nixpkgs.overlays = [ emacs-overlay.overlay ];
services.emacs.enable = true;
services.emacs.package = pkgs.emacsUnstable;
# direnv setup # direnv setup
nix.extraOptions = '' nix.extraOptions = ''

View file

@ -3,7 +3,7 @@
home.username = username; home.username = username;
home.homeDirectory = "/home/" + username; home.homeDirectory = "/home/" + username;
imports = [ ./shell ./wayland ./spacemacs.nix ]; imports = [ ./shell ./wayland ];
xdg.enable = true; xdg.enable = true;
xdg.userDirs.enable = true; xdg.userDirs.enable = true;

View file

@ -1,10 +0,0 @@
{ config, pkgs, spacemacs, ... }:
{
# Set up spacemacs using local emacs config
home.file.".emacs.d" = {
recursive = true;
source = spacemacs;
};
}

View file

@ -8,8 +8,7 @@ inputs = rec {
home-manager.url = "github:nix-community/home-manager/master"; home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
spacemacs.url = "github:syl20bnr/spacemacs/develop"; emacs-overlay.url = "github:nix-community/emacs-overlay";
spacemacs.flake = false;
}; };
outputs = { self, outputs = { self,
nixpkgs, nixpkgs,