From bbbce81541fc9d48844b85a05a490d9e7efa25cb Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 19 Feb 2025 11:16:34 +0100 Subject: [PATCH] feat(configuration): update journald and serial settings - Set journald console to `/dev/ttyS0` for improved logging. - Disable `serial-getty@ttyS0` service to avoid conflicts. --- packages/tdx_google/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/tdx_google/configuration.nix b/packages/tdx_google/configuration.nix index 9111999..89973a5 100644 --- a/packages/tdx_google/configuration.nix +++ b/packages/tdx_google/configuration.nix @@ -63,6 +63,9 @@ '' ); + services.journald.console = "/dev/ttyS0"; + systemd.services."serial-getty@ttyS0".enable = lib.mkForce false; + # the container might want to listen on ports networking.firewall.enable = true; networking.firewall.allowedTCPPortRanges = [{ from = 1024; to = 65535; }];