Skip to content

Instantly share code, notes, and snippets.

@dustinlacewell-wk
Created October 18, 2017 20:27
Show Gist options
  • Save dustinlacewell-wk/15e507df0dc94e69b87816b25941398d to your computer and use it in GitHub Desktop.
Save dustinlacewell-wk/15e507df0dc94e69b87816b25941398d to your computer and use it in GitHub Desktop.
args@{ ... }:
let
nixpkgs = import <nixpkgs> { };
# import some plugins
org-build = (nixpkgs.fetchFromGitHub {
owner = "dustinlacewell";
repo = "nix-hm-org-build";
}) args;
org-export = (nixpkgs.fetchFromGitHub {
owner = "dustinlacewell";
repo = "nix-hm-org-export";
}) args;
# export dotfiles readme to github pages
dotfiles = org-export.export {
source =../README.org;
user = "dustinlacewell";
repo = "dotfiles";
token = builtins.getEnv "EMACS_D_GITHUB_TOKEN";
};
in {
# additional definitions
imports = [
../src/ssh
../src/emacs
../src/zsh
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment