aboutsummaryrefslogtreecommitdiff
path: root/nix/users/fcuny/emacs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/users/fcuny/emacs.nix')
-rw-r--r--nix/users/fcuny/emacs.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/nix/users/fcuny/emacs.nix b/nix/users/fcuny/emacs.nix
index 0b4878f..f4e3719 100644
--- a/nix/users/fcuny/emacs.nix
+++ b/nix/users/fcuny/emacs.nix
@@ -1,4 +1,9 @@
-{ pkgs, lib, ... }:
+{
+ configPath,
+ pkgs,
+ lib,
+ ...
+}:
let
packages =
epkgs: with epkgs; [
@@ -56,7 +61,7 @@ let
];
mkEmacsFile = file: {
".config/emacs/${file}" = {
- source = ./configs/emacs/${file};
+ source = "${configPath}/emacs/${file}";
};
};
in