diff --git a/flake.lock b/flake.lock index 9c1862c..3c26b35 100644 --- a/flake.lock +++ b/flake.lock @@ -492,16 +492,16 @@ ] }, "locked": { - "lastModified": 1770887951, - "narHash": "sha256-6LGqM9yhONtfCXHtPNn3S0GFsmB2dCchyozHDevwmiQ=", - "ref": "main", - "rev": "911063041f24d594a772a2a699d71d3d94953ce8", - "revCount": 101, + "lastModified": 1773832647, + "narHash": "sha256-VZVQDwqDmMGJcJ8WnD6Ug+DTV0b6S2DKHkdj3QvFO+w=", + "ref": "stable_deps", + "rev": "9bdaaf6c5180309b7810bb72f9e717a7c3b2a504", + "revCount": 102, "type": "git", "url": "https://git.pvv.ntnu.no/Projects/worblehat.git" }, "original": { - "ref": "main", + "ref": "stable_deps", "type": "git", "url": "https://git.pvv.ntnu.no/Projects/worblehat.git" } diff --git a/modules/drumknotty.nix b/modules/drumknotty.nix index 8cef532..8085b36 100644 --- a/modules/drumknotty.nix +++ b/modules/drumknotty.nix @@ -123,6 +123,18 @@ in groups.drumknotty = { }; }; + services.worblehat.settings = { + logging = { + debug = true; + dbug_sql = false; + }; + + database = { + type = "sqlite"; + sqlite.path = "./worblehat.sqlite"; + }; + }; + services.dibbler.settings.database = lib.mkIf cfg.createLocalDatabase { type = "postgresql"; postgresql.host = "/run/postgresql";