diff --git a/modules/all-modules.nix b/modules/all-modules.nix new file mode 100644 index 00000000..9a72a78c --- /dev/null +++ b/modules/all-modules.nix @@ -0,0 +1,7 @@ +{ + imports = + [ + ./pre-commit.nix + ./hooks.nix + ]; +} diff --git a/nix/project-module.nix b/nix/project-module.nix index 4055367a..ec43244f 100644 --- a/nix/project-module.nix +++ b/nix/project-module.nix @@ -5,7 +5,8 @@ { imports = [ - ../modules/pre-commit.nix - ../modules/hooks.nix + ../modules/all-modules.nix ]; + + # TODO: move project.nix/modules/pre-commit.nix here } diff --git a/nix/run.nix b/nix/run.nix index 3bc29860..fb328e50 100644 --- a/nix/run.nix +++ b/nix/run.nix @@ -11,7 +11,7 @@ let lib.evalModules { modules = [ - ./project-module.nix + ../modules/all-modules.nix { options = {