Commit 861c393f33ba

Vincent Demeester <vincent@sbr.pm>
2025-10-30 16:21:26
Move helix configuration to home
And do small configuration. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 321dca4
Changed files (2)
home
common
systems
common
home/common/shell/default.nix
@@ -23,6 +23,24 @@
     jq.enable = true;
   };
 
+  programs.helix = {
+    enable = true;
+    settings = {
+      theme = "modus_vivendi";
+      editor.cursor-shape = {
+        normal = "block";
+        insert = "bar";
+        select = "underline";
+      };
+    };
+    languages.language = [
+      {
+        name = "nix";
+        auto-format = true;
+        formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
+      }
+    ];
+  };
   home.packages = with pkgs; [
     age
     mosh
systems/common/base/default.nix
@@ -46,7 +46,6 @@
     tree
     usbutils
     vim
-    helix
     wget
     yq-go
   ];