summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParthiv Seetharaman <pachum99@myrdd.info>2022-03-12 13:25:47 -0800
committerParthiv Seetharaman <pachum99@myrdd.info>2022-03-12 13:29:30 -0800
commit125aeaa50baf9cd0a40ece816760081eb594c51e (patch)
tree88f7bbca39ee6bfbef508cdf677b7ff031ecdcfa
parentcc70149fc40ef67ee8b90a039ba388b3ae82eb82 (diff)
modules: allow for more modules to be added
-rw-r--r--checks.nix2
-rw-r--r--flake.nix2
-rw-r--r--modules/default.nix5
-rw-r--r--modules/matrix-appservices/as-formats.nix (renamed from module/as-formats.nix)0
-rw-r--r--modules/matrix-appservices/as-options.nix (renamed from module/as-options.nix)0
-rw-r--r--modules/matrix-appservices/default.nix (renamed from module/default.nix)0
6 files changed, 7 insertions, 2 deletions
diff --git a/checks.nix b/checks.nix
index fd6e3f0..2935c49 100644
--- a/checks.nix
+++ b/checks.nix
@@ -20,7 +20,7 @@ in
nodes = {
homeserver = { pkgs, ... }: {
- imports = [ ./module ];
+ imports = [ ./modules/matrix-appservices ];
services.dendrite = {
enable = true;
settings = {
diff --git a/flake.nix b/flake.nix
index 66c5edf..38e555e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -25,7 +25,7 @@
in
{
- nixosModules.matrix-appservices = import ./module;
+ nixosModules = import ./modules { };
nixosModule = self.nixosModules.matrix-appservices;
overlays.matrix-appservices = final: prev: import ./pkgs { pkgs = prev; };
diff --git a/modules/default.nix b/modules/default.nix
new file mode 100644
index 0000000..e999aae
--- /dev/null
+++ b/modules/default.nix
@@ -0,0 +1,5 @@
+{ ... }:
+
+{
+ matrix-appservices = import ./matrix-appservices;
+}
diff --git a/module/as-formats.nix b/modules/matrix-appservices/as-formats.nix
index fa7a4cf..fa7a4cf 100644
--- a/module/as-formats.nix
+++ b/modules/matrix-appservices/as-formats.nix
diff --git a/module/as-options.nix b/modules/matrix-appservices/as-options.nix
index 2afbbbf..2afbbbf 100644
--- a/module/as-options.nix
+++ b/modules/matrix-appservices/as-options.nix
diff --git a/module/default.nix b/modules/matrix-appservices/default.nix
index f57284d..f57284d 100644
--- a/module/default.nix
+++ b/modules/matrix-appservices/default.nix