From a060248b95d5fbb7ac0417915af148acb58c5157 Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Wed, 17 May 2023 09:10:12 +1000
Subject: [PATCH] shell, treefmt: move into /dev

keeps the repo root tidy
---
 .envrc                         | 2 +-
 shell.nix => dev/shell.nix     | 0
 treefmt.nix => dev/treefmt.nix | 0
 flake.nix                      | 4 ++--
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename shell.nix => dev/shell.nix (100%)
 rename treefmt.nix => dev/treefmt.nix (100%)

diff --git a/.envrc b/.envrc
index 44ef043..87e21aa 100644
--- a/.envrc
+++ b/.envrc
@@ -1,2 +1,2 @@
-watch_file treefmt.nix shell.nix
+watch_dir dev
 use flake
diff --git a/shell.nix b/dev/shell.nix
similarity index 100%
rename from shell.nix
rename to dev/shell.nix
diff --git a/treefmt.nix b/dev/treefmt.nix
similarity index 100%
rename from treefmt.nix
rename to dev/treefmt.nix
diff --git a/flake.nix b/flake.nix
index 803c35c..f092a30 100644
--- a/flake.nix
+++ b/flake.nix
@@ -70,13 +70,13 @@
           inputs.hercules-ci-effects.flakeModule
           inputs.treefmt-nix.flakeModule
           ./effect.nix
-          ./shell.nix
+          ./dev/shell.nix
         ];
 
         hercules-ci.github-pages.branch = "master";
 
         perSystem = { config, pkgs, ... }: {
-          treefmt.imports = [ ./treefmt.nix ];
+          treefmt.imports = [ ./dev/treefmt.nix ];
 
           packages.pages = pkgs.runCommand "pages"
             {