trying some stuff

This commit is contained in:
Chris Kruining 2025-11-27 11:15:49 +01:00
parent 2d3da197ee
commit 8da8f78ea4
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
4 changed files with 231 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ config, pkgs, lib, namespace, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.services.persistance.convex;
in
{
imports = [ ./source.nix ];
options.${namespace}.services.persistance.convex = {
enable = mkEnableOption "enable Convex";
};
config = mkIf cfg.enable {
services.convex = {
enable = true;
package = pkgs.${namespace}.convex;
secret = "ThisIsMyAwesomeSecret";
};
};
}