diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2023-08-27 17:01:55 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2023-08-27 17:01:55 +0200 |
| commit | cb68af5842bead368f0671f81dc90b5e46b6d40b (patch) | |
| tree | 2b3071882e6504b2bc0fcca39f6d18a2278d3ae7 /modules/devenv/integrations/emacs.nix | |
| parent | 511d1466331c7d4ede2c7f025a08a488d43fe027 (diff) | |
devenv: nix: add formatter to emacs
Diffstat (limited to 'modules/devenv/integrations/emacs.nix')
| -rw-r--r-- | modules/devenv/integrations/emacs.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/devenv/integrations/emacs.nix b/modules/devenv/integrations/emacs.nix index b7f1e42..d002967 100644 --- a/modules/devenv/integrations/emacs.nix +++ b/modules/devenv/integrations/emacs.nix @@ -46,8 +46,8 @@ in { }; }; - config.dotfiles.".dir-locals.el" = lib.mkIf (cfg.dirLocals != {}) { - gitignore = lib.mkDefault true; - text = attrs2alist cfg.dirLocals; - }; + config.dotfiles.".dir-locals.el".text = + lib.mkIf (cfg.dirLocals != {}) + (attrs2alist + cfg.dirLocals); } |
