Fix formatting

This commit is contained in:
Greg Hellings
2025-12-07 00:15:26 -06:00
parent d288f2ef82
commit d9e4ba93ac
4 changed files with 30 additions and 29 deletions
+6 -1
View File
@@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }: {
config,
lib,
pkgs,
...
}:
{ {
home.packages = home.packages =
with pkgs; with pkgs;
-3
View File
@@ -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.
+9 -9
View File
@@ -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 ];
+15 -16
View File
@@ -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 ];
}; };