From b9e66068484ea4111cd4adf63abc1afdac056b22 Mon Sep 17 00:00:00 2001 From: Vika Date: Sat, 22 Jul 2023 12:32:36 +0300 Subject: Mount webmention handling routes and tasks --- smoke-test.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'smoke-test.nix') diff --git a/smoke-test.nix b/smoke-test.nix index 139117f..b043a31 100644 --- a/smoke-test.nix +++ b/smoke-test.nix @@ -6,6 +6,19 @@ kittybox: kittybox = { config, pkgs, lib, ... }: { imports = [ kittybox.nixosModules.default ]; + services.postgresql = { + enable = true; + ensureDatabases = ["kittybox"]; + ensureUsers = [ { + name = "kittybox"; + ensurePermissions = { + "DATABASE kittybox" = "ALL PRIVILEGES"; + }; + } ]; + }; + + systemd.services.kittybox.wants = [ "postgresql.service" ]; + systemd.services.kittybox.after = [ "postgresql.service" ]; systemd.services.kittybox.wantedBy = lib.mkForce []; services.kittybox = { -- cgit 1.4.1