From adf514c054954d70717c0e06637c940540d26a61 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Sun, 5 Oct 2025 23:19:19 -0500 Subject: [PATCH 1/2] client max body size setting --- hosts/h001/nginx.nix | 4 +--- hosts/oracle/o001/nginx.nix | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/hosts/h001/nginx.nix b/hosts/h001/nginx.nix index f7c0bac..8a52091 100644 --- a/hosts/h001/nginx.nix +++ b/hosts/h001/nginx.nix @@ -9,9 +9,7 @@ let in { services.nginx = { - appendHttpConfig = '' - client_max_body_size 500M; - ''; + clientMaxBodySize = "500m"; virtualHosts = { "10.12.14.10" = { locations = { diff --git a/hosts/oracle/o001/nginx.nix b/hosts/oracle/o001/nginx.nix index 29b484c..2188c0b 100644 --- a/hosts/oracle/o001/nginx.nix +++ b/hosts/oracle/o001/nginx.nix @@ -30,9 +30,7 @@ recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; - appendHttpConfig = '' - client_max_body_size 500M; - ''; + clientMaxBodySize = "500m"; virtualHosts = let tailnetConfig = { From 05fc8a71c5ae86aeeb227582b4ee4b85f0104e13 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Sun, 5 Oct 2025 23:21:36 -0500 Subject: [PATCH 2/2] add tr to ll command alias --- common/general/shell/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/general/shell/common.nix b/common/general/shell/common.nix index c7bd3df..2d79ea5 100644 --- a/common/general/shell/common.nix +++ b/common/general/shell/common.nix @@ -40,7 +40,7 @@ with lib; date_compact = "date +'%Y%m%d'"; date_short = "date +'%Y-%m-%d'"; ls = "ls --color -Gah"; - ll = "ls --color -Galh"; + ll = "ls --color -Galhtr"; lss = "du --max-depth=0 -h {.,}* 2>/dev/null | sort -hr"; psg = "ps aux | head -n 1 && ps aux | grep -v 'grep' | grep"; cl = "clear";