about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-08-29T07·12+0300
committertazjin <tazjin@tvl.su>2024-09-02T21·26+0000
commita115238f1bdc197a3d7d7827a026e490040d526f (patch)
tree2da4034b6457cc430dd50033eeda459fc0ac5383
parent84bdc582ea9edebc844b0e25e18a16d22c1bc587 (diff)
feat(tazjin/eaglemode): add example plugin to config r/8639
Change-Id: I5993c429dfa066295823d5666763ca0120cc209c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12391
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: emery <emery@dmz.rs>
Tested-by: BuildkiteCI
-rw-r--r--users/tazjin/eaglemode/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/users/tazjin/eaglemode/default.nix b/users/tazjin/eaglemode/default.nix
index f4e11e455c1d..8e69635ca2dd 100644
--- a/users/tazjin/eaglemode/default.nix
+++ b/users/tazjin/eaglemode/default.nix
@@ -1,11 +1,13 @@
 # Derivation for my fully configured Eagle Mode.
 { depot, ... }:
 
-let
-  config = depot.tools.eaglemode.etcDir {
-    extraPaths = [ depot.tools.eaglemode.commands.emacsclient ];
+with depot.tools.eaglemode;
+
+withConfig {
+  config = etcDir {
+    extraPaths = [
+      commands.emacsclient
+      plugins.example
+    ];
   };
-in
-depot.tools.eaglemode.withConfig {
-  inherit config;
 }