{ pkgs, config, lib, ... }: with lib; let cfg = config.eboskma.programs.emacs; in { options.eboskma.programs.emacs = {enable = mkEnableOption "activate emacs";}; # imports = [ inputs.nix-doom-emacs.hmModule ]; config = mkIf (cfg.enable) { programs.emacs = { enable = true; package = pkgs.emacsPgtkGcc; }; # programs.doom-emacs = { # enable = true; # emacsPackage = pkgs.emacs-nox; # doomPrivateDir = ./doom.d; # }; home.packages = with pkgs; [ (texlive.combine { inherit (texlive) scheme-small wrapfig ulem capt-of; }) ]; }; }