Fix formatting
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
home.packages =
|
home.packages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|||||||
@@ -4,9 +4,6 @@
|
|||||||
|
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
|
||||||
speedtest_port = "19472";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ lib, ... }:
|
{ ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
srcDomain = "src.thehellings.com";
|
srcDomain = "src.thehellings.com";
|
||||||
@@ -18,14 +18,14 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
#greg.proxies."registry.thehellings.com" = {
|
#greg.proxies."registry.thehellings.com" = {
|
||||||
#target = "https://gitea.shire-zebra.ts.net:5000";
|
#target = "https://gitea.shire-zebra.ts.net:5000";
|
||||||
#ssl = true;
|
#ssl = true;
|
||||||
#genAliases = false;
|
#genAliases = false;
|
||||||
#extraConfig = ''
|
#extraConfig = ''
|
||||||
#proxy_set_header X-Forwarded-Proto https;
|
#proxy_set_header X-Forwarded-Proto https;
|
||||||
#proxy_set_header X-Forwarded-Ssl on;
|
#proxy_set_header X-Forwarded-Ssl on;
|
||||||
#client_max_body_size 25000m;
|
#client_max_body_size 25000m;
|
||||||
#'';
|
#'';
|
||||||
#};
|
#};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ sshPort ];
|
networking.firewall.allowedTCPPorts = [ sshPort ];
|
||||||
|
|||||||
@@ -61,22 +61,21 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts =
|
allowedTCPPorts = [
|
||||||
[
|
80
|
||||||
80
|
443
|
||||||
443
|
5432
|
||||||
5432
|
6443
|
||||||
6443
|
]
|
||||||
]
|
++ (
|
||||||
++ (
|
if cfg.agentOnly then
|
||||||
if cfg.agentOnly then
|
[ ]
|
||||||
[ ]
|
else
|
||||||
else
|
[
|
||||||
[
|
2379
|
||||||
2379
|
2380
|
||||||
2380
|
]
|
||||||
]
|
);
|
||||||
);
|
|
||||||
allowedUDPPorts = [ 8472 ];
|
allowedUDPPorts = [ 8472 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user