From 1e0496f8189bdac3593ece78ce2464bbdade4e60 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Sat, 30 Nov 2024 22:30:34 -0600 Subject: [PATCH 1/3] oscar: Remove pulseaudio disable, which is the default --- oscar/configuration.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/oscar/configuration.nix b/oscar/configuration.nix index 342cc79..b68a0d9 100644 --- a/oscar/configuration.nix +++ b/oscar/configuration.nix @@ -96,7 +96,6 @@ hardware.keyboard.qmk.enable = true; # Enable sound with pipewire. - hardware.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { enable = true; From 41ad7feade15921edd31c58d63120eda25ef5be7 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Sat, 30 Nov 2024 22:32:26 -0600 Subject: [PATCH 2/3] bert: Fix content-type header on http default responder --- bert/services/http/index.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/bert/services/http/index.nix b/bert/services/http/index.nix index 07342bc..fae2c7b 100644 --- a/bert/services/http/index.nix +++ b/bert/services/http/index.nix @@ -26,6 +26,7 @@ virtualHosts.":80" = { serverAliases = [":443"]; extraConfig = '' + header Content-Type text/html respond < From f6246c84dbde151e1f3e90ff9fa1e28099712d50 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Sat, 30 Nov 2024 23:41:54 -0600 Subject: [PATCH 3/3] bert: README: Remove Caddy note obsolete with 24.11 release --- bert/README.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/bert/README.md b/bert/README.md index 5c8eff2..e1803ae 100644 --- a/bert/README.md +++ b/bert/README.md @@ -13,18 +13,3 @@ - git/forgejo in /var/lib/forgejo - navidrome DB/etc in /var/lib/navidrome 6. Set up Grafana users (log in with default admin/admin; change creds; configure) - -## Notes on Caddy -Until 2.8 is released with 24.11, Caddy has a pretty limited sense of what -content-types should be compressed: - -https://github.com/caddyserver/caddy/blob/v2.7.6/modules/caddyhttp/encode/encode.go#L85-L101 - -Specifically, this doesn't include GeoJSON, which is a bit of a shame for -maps.chandlerswift.com. That said, I'll probably be upgrading to 24.11 as soon -as it comes out, so in the intervening time I'm just not going to worry about -it. - -The list was expanded in this PR: - -https://github.com/caddyserver/caddy/pull/6081