From de27156be068d0f0b54c546e76f19ae714fa13f0 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 16 Dec 2021 17:50:42 +0000 Subject: [PATCH] nixos/cage: log to journal Previously, cage would log to the TTY it was running on top of, so log messages were basically lost. --- nixos/modules/services/wayland/cage.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/wayland/cage.nix b/nixos/modules/services/wayland/cage.nix index 273693a3b2fe..d2bbc4fc057b 100644 --- a/nixos/modules/services/wayland/cage.nix +++ b/nixos/modules/services/wayland/cage.nix @@ -74,6 +74,8 @@ in { TTYVTDisallocate = "yes"; # Fail to start if not controlling the virtual terminal. StandardInput = "tty-fail"; + StandardOutput = "journal"; + StandardError = "journal"; # Set up a full (custom) user session for the user, required by Cage. PAMName = "cage"; };