remove emacs overlay

This commit is contained in:
Sakooooo 2023-12-25 14:18:16 +04:00
parent 073fc6b7e0
commit 19ccbd7e90
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 6 additions and 23 deletions

View file

@ -21,10 +21,6 @@
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
emacs-overlay = {
url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { outputs = {

View file

@ -16,34 +16,21 @@ in {
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
# import overlay
nixpkgs.overlays = [
inputs.emacs-overlay.overlay
];
# ues daemon # ues daemon
services.emacs = { services.emacs = {
enable = cfg.daemon; enable = cfg.daemon;
install = true; install = true;
#package = pkgs.emacs29-pgtk; package = pkgs.emacs29-pgtk;
package = pkgs.emacsWithPackagesFromUsePackage {
config = ../../../../config/emacs/init.el;
defaultInitFile = true;
package = pkgs.emacs29-pgtk;
};
}; };
users.users.sako.packages = with pkgs; [ users.users.sako.packages = with pkgs; [
# direnv # direnv
direnv direnv
]; ];
# home-manager.users.sako.home.file.".emacs.d" = { home-manager.users.sako.home.file.".emacs.d" = {
# enable = true; enable = true;
# source = ../../../../config/emacs; source = ../../../../config/emacs;
# recursive = true; recursive = true;
# }; };
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["JetBrainsMono"];}) (nerdfonts.override {fonts = ["JetBrainsMono"];})
jetbrains-mono jetbrains-mono