Files
nix-config/hosts/nas/apps/crowdsec/options.nix
mjallen18 888167afc2 cleanup
2025-06-13 10:44:00 -05:00

28 lines
431 B
Nix

{ lib, ... }:
with lib;
{
options.nas-apps.crowdsec = {
enable = mkEnableOption "crowdsec service";
port = mkOption {
type = types.int;
default = 9898;
};
apiAddress = mkOption {
type = types.str;
default = "127.0.0.1";
};
apiKey = mkOption {
type = types.str;
default = "";
};
dataDir = mkOption {
type = types.str;
default = "";
};
};
}