feat(g/emacs): Install dottime from depot via nix
To test out emacs package installs from depot Change-Id: Ia8bb370d671c566c6ce8de08b47925ec3a1653e4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/493 Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
parent
dbb4a57bbf
commit
d5c3619118
3 changed files with 19 additions and 2 deletions
|
@ -167,6 +167,9 @@
|
|||
;; provides a Spacemacs-inspired keybinding scheme and a smartparens
|
||||
;; config. Use it as a reference for your own modules.
|
||||
(default +bindings +smartparens))
|
||||
|
||||
(appendq! load-path (split-string (getenv "EMACSLOADPATH") ":"))
|
||||
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
|
@ -9,8 +9,14 @@ let
|
|||
# doomPrivateDir = ./doom.d; # Directory containing your config.el init.el
|
||||
# # and packages.el files
|
||||
# };
|
||||
|
||||
|
||||
depot = config.lib.depot;
|
||||
in {
|
||||
imports = [ ./lib/cloneRepo.nix ];
|
||||
imports = [
|
||||
./lib/cloneRepo.nix
|
||||
./lib/depot.nix
|
||||
];
|
||||
|
||||
# home.packages = [ doom-emacs ];
|
||||
# home.file.".emacs.d/init.el".text = ''
|
||||
|
@ -48,6 +54,9 @@ in {
|
|||
programs.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacsUnstable;
|
||||
extraPackages = (epkgs: [
|
||||
depot.tools.emacs-pkgs.dottime
|
||||
]);
|
||||
};
|
||||
|
||||
grfn.impure.clonedRepos = {
|
||||
|
|
5
users/glittershark/system/home/modules/lib/depot.nix
Normal file
5
users/glittershark/system/home/modules/lib/depot.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
lib.depot = import ~/code/depot {};
|
||||
}
|
Loading…
Reference in a new issue