diff options
author | Parthiv Seetharaman <pachum99@myrdd.info> | 2022-03-12 13:25:47 -0800 |
---|---|---|
committer | Parthiv Seetharaman <pachum99@myrdd.info> | 2022-03-12 13:29:30 -0800 |
commit | 125aeaa50baf9cd0a40ece816760081eb594c51e (patch) | |
tree | 88f7bbca39ee6bfbef508cdf677b7ff031ecdcfa | |
parent | cc70149fc40ef67ee8b90a039ba388b3ae82eb82 (diff) |
modules: allow for more modules to be added
-rw-r--r-- | checks.nix | 2 | ||||
-rw-r--r-- | flake.nix | 2 | ||||
-rw-r--r-- | modules/default.nix | 5 | ||||
-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
@@ -20,7 +20,7 @@ in nodes = { homeserver = { pkgs, ... }: { - imports = [ ./module ]; + imports = [ ./modules/matrix-appservices ]; services.dendrite = { enable = true; settings = { @@ -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 |