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";
inputs.nixpkgs.follows = "nixpkgs";
};
emacs-overlay = {
url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {

View file

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