{ 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"; }; }; }; }