summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@internetsafetylabs.org>2025-06-05 18:01:02 -0700
committerIrene Knapp <ireneista@internetsafetylabs.org>2025-06-05 18:04:16 -0700
commitaecfac7a404b86b26d28bfe2a3077d3b0a41eee4 (patch)
treec22cd7ba6160ab266b071b3ef7db2e2d6a4ee974 /flake.nix
parentbf3a4dff20feead2a87e5833988344fcc7970611 (diff)
add database setup; export everything from the flake as a module
database.nix is substantially copied from the ISL config repo, with a few
changes to make it more generic and usable by others

I also removed stuff in mattermost.nix that wasn't doing anything; I'll
detail that in comments

Change-Id: I0ff6ea69f293dc4070f277f30ae0fde5254cd87c
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index ba78e40..5d92034 100644
--- a/flake.nix
+++ b/flake.nix
@@ -14,7 +14,10 @@
       nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
   in {
     nixosModules.default = { ... }: {
-      imports = [ ];
+      imports = [
+        ./services/common/database.nix
+        ./services/mattermost/default.nix
+      ];
     };
 
     devShells = forAllSystems (system: let pkgs = nixpkgsFor.${system}; in {