project-software/affine/options.nix
2025-09-29 01:10:22 +07:00

17 lines
468 B
Nix

{ lib, ... }:
{
options = with lib; with types; {
services.affine = {
enable = mkEnableOption "AFFINE collaborative tool";
env = {
PORT = mkOption { type = int; default = 3010; };
DB_USERNAME = mkOption { type = str; default = "affine"; };
DB_PASSWORD = mkOption { type = str; default = "affine"; };
DB_DATABASE = mkOption { type = str; default = "affine"; };
};
revision = mkOption { type = str; default = "stable"; };
};
};
}