diff --git a/packages/nixos/kata.nix b/packages/nixos/kata.nix index 7e7a63fea..0443215e9 100644 --- a/packages/nixos/kata.nix +++ b/packages/nixos/kata.nix @@ -50,7 +50,8 @@ in after = [ "systemd-tmpfiles-setup.service" ]; # Not upstream, but required for /etc/resolv.conf bind mount. serviceConfig = { Type = "exec"; # Not upstream. - StandardOutput = "tty"; + StandardOutput = "journal+console"; + StandardError = "inherit"; ExecStart = "${lib.getExe pkgs.kata-agent}"; LimitNOFILE = 1048576; ExecStop = "${pkgs.coreutils}/bin/sync ; ${config.systemd.package}/bin/systemctl --force poweroff";