aboutsummaryrefslogtreecommitdiff
path: root/nix/users/fcuny/emacs.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-06-12 14:40:10 -0700
committerFranck Cuny <franck@fcuny.net>2025-06-12 14:40:10 -0700
commit287154f425fae2fd908a11b7688457845efc9fa7 (patch)
treeaa8705260305ea5ba125b1b99b23f25c8abf6e73 /nix/users/fcuny/emacs.nix
parentstop using relative paths for secrets (diff)
downloadinfra-287154f425fae2fd908a11b7688457845efc9fa7.tar.gz
move emacs configuration at the top level
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