From 287154f425fae2fd908a11b7688457845efc9fa7 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 12 Jun 2025 14:40:10 -0700 Subject: move emacs configuration at the top level --- nix/users/fcuny/emacs.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'nix/users/fcuny/emacs.nix') 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 -- cgit v1.2.3