Home

helix.drv @main - refs - log -
-
https://git.jolheiser.com/helix.drv.git
My Helix configuration as a Nix derivation
tree log patch
feat: jsonnet Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQCp0yf/14eCPd7PcrLQSmwd0GV6inrp8v+Oxs5XFOwnW1qg3MI5xJzuuK5qykZ4D7g Suxed4BAijY8GtSXrh3gU= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
4 months ago
1 changed files, 9 additions(+), 0 deletions(-)
M config.nix -> config.nix
diff --git a/config.nix b/config.nix
index 3151bbd6442283e82cb38c0564af06ff7adb965a..0a01659d7492fdbf8fadc27ce51430b5d8b60d27 100644
--- a/config.nix
+++ b/config.nix
@@ -194,6 +194,15 @@           args = ["format"];
         };
       }
 {pkgs ? import <nixpkgs> {}}: {
+      color-modes = true;
+        name = "jsonnet";
+        auto-format = true;
+        formatter = {
+          command = "${jsonnet}/bin/jsonnetfmt";
+          args = ["-"];
+        };
+      }
+{pkgs ? import <nixpkgs> {}}: {
       normal = {
     language-server = {
       nil.config.nil.nix.flake.autoEvalInputs = true;