format and remove unused

This commit is contained in:
Joseph Hanson 2025-02-12 12:36:33 -06:00
parent 9924c2e66c
commit abc5c7cfd2
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -4,27 +4,26 @@
pkgs,
...
}:
with lib;
let
with lib; let
cfg = config.mySystem.services.haproxy;
serviceUser = "named";
in
{
in {
options.mySystem.services.haproxy = {
enable = mkEnableOption "haproxy" // {
default = false;
};
package = mkPackageOption pkgs "haproxy" { };
enable =
mkEnableOption "haproxy"
// {
default = false;
};
package = mkPackageOption pkgs "haproxy" {};
config = mkOption {
type = types.str;
};
tcpPorts = mkOption {
type = types.listOf types.int;
default = [ ];
default = [];
};
udpPorts = mkOption {
type = types.listOf types.int;
default = [ ];
default = [];
};
};