Skip to content

Instantly share code, notes, and snippets.

@dustinlacewell-wk
Created October 16, 2017 02:28
Show Gist options
  • Save dustinlacewell-wk/1499d1f836c99fede059ef8038ed6821 to your computer and use it in GitHub Desktop.
Save dustinlacewell-wk/1499d1f836c99fede059ef8038ed6821 to your computer and use it in GitHub Desktop.
{pkgs, lib, ... }:
with lib;
with builtins;
let
dotlib = (import <dotlib>) { pkgs=pkgs; };
gh_token = "de6f19c59fe7d8ae803d6ed646e21aea95e0d3c0";
in {
programs.emacs = {
enable = true;
package = pkgs.emacs;
extraPackages = epkgs: [
epkgs.badger-theme
];
};
home.file.".emacs.d/init.el".source = dotlib.emacs.buildOrg {
infile = ./init.org; };
home.file.".emacs.d/init.html".source = dotlib.emacs.buildDocs {
infile = ./init.org;
ghpRemote = "https://dustinlacewell:${gh_token}@github.com/dustinlacewell/emacs.d.git"; };
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment