Files
nix-config/modules/nixos/actual/options.nix
2025-08-21 19:06:51 -05:00

38 lines
674 B
Nix

{ lib, namespace, ... }:
with lib;
{
options.${namespace}.services.actual = {
enable = mkEnableOption "actual service";
port = mkOption {
type = types.int;
default = 80;
};
localAddress = mkOption {
type = types.str;
default = "127.0.0.1";
};
dataDir = mkOption {
type = types.str;
default = "";
};
reverseProxy = {
enable = mkOption {
type = types.bool;
default = false;
};
host = mkOption {
type = types.str;
default = "";
};
middlewares = mkOption {
type = with types; listOf str;
default = [ ];
};
};
};
}