home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c92d21606d5e4e2604286803178263cd02e23131
parent 5fbf40571ffd681bf72fdddc09f445a2e6211f0f
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 29 Jan 2019 13:12:39 +0100

emacs: enable experimental xwidget on shikoku

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmachines/shikoku.nix | 1+
Mmodules/profiles/emacs.nix | 8+++++++-
2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/machines/shikoku.nix b/machines/shikoku.nix @@ -15,6 +15,7 @@ rust.enable = true; vscode.enable = true; }; + profiles.emacs.withXwidgets = true; profiles.media.enable = true; profiles.cloud.google.enable = true; profiles.containers = { diff --git a/modules/profiles/emacs.nix b/modules/profiles/emacs.nix @@ -17,6 +17,11 @@ in description = "Enable emacs daemon service"; type = types.bool; }; + withXwidgets = mkOption { + default = false; + description = "Enable Xwidgets in emacs build"; + type = types.bool; + }; }; }; config = mkIf cfg.enable (mkMerge [ @@ -25,7 +30,7 @@ in home.packages = with pkgs; [ pandoc rustracer ]; programs.emacs = { enable = true; - package = pkgs.emacs.override { inherit (pkgs) imagemagick; }; + package = pkgs.emacs.override { inherit (pkgs) imagemagick; withXwidgets = cfg.withXwidgets; }; extraPackages = epkgs: with epkgs; [ ace-window aggressive-indent @@ -129,6 +134,7 @@ in org-plus-contrib org-bullets org-capture-pop-frame + org-gcal org-ref org-super-agenda #org-web-tools