format and remove unused
This commit is contained in:
parent
9924c2e66c
commit
abc5c7cfd2
1 changed files with 10 additions and 11 deletions
|
@ -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 = [];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue