remove emacs overlay
This commit is contained in:
parent
073fc6b7e0
commit
19ccbd7e90
2 changed files with 6 additions and 23 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
||||
};
|
||||
};
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue