about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix23
1 files changed, 12 insertions, 11 deletions
diff --git a/flake.nix b/flake.nix
index 6d63eb8..18b6740 100644
--- a/flake.nix
+++ b/flake.nix
@@ -24,6 +24,17 @@
     flake-utils.lib.eachDefaultSystem (system: let
       pkgs = nixpkgs.legacyPackages."${system}";
     in {
+      devShells.default = pkgs.mkShell {
+        packages = with pkgs; [
+          nil
+          alejandra
+          statix
+          ltex-ls
+          cocogitto
+        ];
+      };
+    })
+    // {
       templates = {
         rust = {
           path = ./rust;
@@ -41,17 +52,7 @@
           welcomeText = "Please customize the text in the flake.nix and LICENSE.spdx files; Look at the TODO marks.\n Also run `git init` and `cog install-hook commit-msg`";
         };
       };
-
-      devShells.default = pkgs.mkShell {
-        packages = with pkgs; [
-          nil
-          alejandra
-          statix
-          ltex-ls
-          cocogitto
-        ];
-      };
-    });
+    };
 }
 # vim: ts=2