about summary refs log tree commit diff
path: root/home/emacs/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-20 14:02:28 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-20 14:41:34 -0700
commit7ae07b50e83cb64d114ec46dcb292f05e692e339 (patch)
treebe247a29bdad25d444736c3e43cf6a71a22a56da /home/emacs/default.nix
parentfeat(home/shell): manage fish's functions directory (diff)
downloadworld-7ae07b50e83cb64d114ec46dcb292f05e692e339.tar.gz
fix(home/emacs): install the package nixpkgs-fmt
nixpkgs-fmt is a tool to format nix code. This is the one the nix
community seems to
recommend (https://github.com/nix-community/nixpkgs-fmt) so I should use
it.

I'm installing this with Emacs because that's how I interact with this
code, and I'll configure Emacs to use it for formatting the code.

Change-Id: I4364a898c54c75ace12d07636085faa7e9c050c7
Reviewed-on: https://cl.fcuny.net/c/world/+/459
Tested-by: CI
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to '')
-rw-r--r--home/emacs/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/emacs/default.nix b/home/emacs/default.nix
index 4ea337e..96659dc 100644
--- a/home/emacs/default.nix
+++ b/home/emacs/default.nix
@@ -11,6 +11,7 @@ in
       emacsPgtkNativeComp
       # see https://github.com/hlissner/doom-emacs/issues/4138
       (aspellWithDicts (dicts: with dicts; [ en en-computers en-science ]))
+      nixpkgs-fmt
     ];
 
     sessionVariables = {