From 7ae07b50e83cb64d114ec46dcb292f05e692e339 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 20 Jun 2022 14:02:28 -0700 Subject: 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 --- home/emacs/default.nix | 1 + 1 file changed, 1 insertion(+) 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 = { -- cgit 1.4.1