trying some stuff

This commit is contained in:
Chris Kruining 2025-09-01 10:07:28 +02:00
parent 9a37316d9e
commit 69ecd4ff89
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";
};
};
}