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, pkgs,
... ...
}: }:
with lib; with lib; let
let
cfg = config.mySystem.services.haproxy; cfg = config.mySystem.services.haproxy;
serviceUser = "named"; in {
in
{
options.mySystem.services.haproxy = { options.mySystem.services.haproxy = {
enable = mkEnableOption "haproxy" // { enable =
mkEnableOption "haproxy"
// {
default = false; default = false;
}; };
package = mkPackageOption pkgs "haproxy" { }; package = mkPackageOption pkgs "haproxy" {};
config = mkOption { config = mkOption {
type = types.str; type = types.str;
}; };
tcpPorts = mkOption { tcpPorts = mkOption {
type = types.listOf types.int; type = types.listOf types.int;
default = [ ]; default = [];
}; };
udpPorts = mkOption { udpPorts = mkOption {
type = types.listOf types.int; type = types.listOf types.int;
default = [ ]; default = [];
}; };
}; };