From 842492dd937da382d87c16e19279e5e65f3c84a1 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Fri, 20 Mar 2015 16:22:42 -0500 Subject: [PATCH] Adding 'dustin' config layer for spacemacs. updating gpg-agent ttl to 24 hours. --- gpg-agent.conf | 4 +--- spacemacs | 2 +- spacemacs_private/dustin/extensions.el | 33 ++++++++++++++++++++++++++ spacemacs_private/dustin/packages.el | 32 +++++++++++++++++++++++++ 4 files changed, 67 insertions(+), 4 deletions(-) create mode 100644 spacemacs_private/dustin/extensions.el create mode 100644 spacemacs_private/dustin/packages.el diff --git a/gpg-agent.conf b/gpg-agent.conf index f8d276f..da68606 100644 --- a/gpg-agent.conf +++ b/gpg-agent.conf @@ -1,5 +1,3 @@ -#pinentry-program /usr/local/bin/pinentry pinentry-program /usr/local/bin/pinentry-mac -#default-cache-ttl 600 default-cache-ttl 86400 -max-cache-ttl 7200 +max-cache-ttl 86400 diff --git a/spacemacs b/spacemacs index f8a100b..1998c8c 100644 --- a/spacemacs +++ b/spacemacs @@ -12,7 +12,7 @@ dotspacemacs-configuration-layer-path '() ;; List of configuration layers to load. If it is the symbol `all' instead ;; of a list then all discovered layers will be installed. - dotspacemacs-configuration-layers '(perforce git c-c++ haskell html javascript php markdown extra-langs company-mode (colors :variables colors-enable-rainbow-identifiers t) restclient evil-snipe mu4e) + dotspacemacs-configuration-layers '(perforce git c-c++ haskell html javascript php markdown extra-langs company-mode (colors :variables colors-enable-rainbow-identifiers t) restclient evil-snipe mu4e dustin) ;; A list of packages and/or extensions that will not be install and loaded. dotspacemacs-excluded-packages '(evil-escape) ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that diff --git a/spacemacs_private/dustin/extensions.el b/spacemacs_private/dustin/extensions.el new file mode 100644 index 0000000..58545ac --- /dev/null +++ b/spacemacs_private/dustin/extensions.el @@ -0,0 +1,33 @@ +;;; extensions.el --- dustin Layer extensions File for Spacemacs +;; +;; Copyright (c) 2012-2014 Sylvain Benner +;; Copyright (c) 2014-2015 Sylvain Benner & Contributors +;; +;; Author: Sylvain Benner +;; URL: https://github.com/syl20bnr/spacemacs +;; +;; This file is not part of GNU Emacs. +;; +;;; License: GPLv3 + +(defvar dustin-pre-extensions + '( + ;; pre extension dustins go here + ) + "List of all extensions to load before the packages.") + +(defvar dustin-post-extensions + '( + ;; post extension dustins go here + ) + "List of all extensions to load after the packages.") + +;; For each extension, define a function dustin/init- +;; +;; (defun dustin/init-my-extension () +;; "Initialize my extension" +;; ) +;; +;; Often the body of an initialize function uses `use-package' +;; For more info on `use-package', see readme: +;; https://github.com/jwiegley/use-package diff --git a/spacemacs_private/dustin/packages.el b/spacemacs_private/dustin/packages.el new file mode 100644 index 0000000..c1602ba --- /dev/null +++ b/spacemacs_private/dustin/packages.el @@ -0,0 +1,32 @@ +;;; packages.el --- dustin Layer packages File for Spacemacs +;; +;; Copyright (c) 2012-2014 Sylvain Benner +;; Copyright (c) 2014-2015 Sylvain Benner & Contributors +;; +;; Author: Sylvain Benner +;; URL: https://github.com/syl20bnr/spacemacs +;; +;; This file is not part of GNU Emacs. +;; +;;; License: GPLv3 + +(defvar dustin-packages + '( + keychain-environment + ) + "List of all packages to install and/or initialize. Built-in packages +which require an initialization must be listed explicitly in the list.") + +(defvar dustin-excluded-packages '() + "List of packages to exclude.") + +;; For each package, define a function dustin/init- +;; +(defun dustin/init-keychain-environment () + "Initialize my package" + (keychain-refresh-environment) + ) +;; +;; Often the body of an initialize function uses `use-package' +;; For more info on `use-package', see readme: +;; https://github.com/jwiegley/use-package