nixos/cage: log to journal

Previously, cage would log to the TTY it was running on top of, so log
messages were basically lost.
This commit is contained in:
Alyssa Ross 2021-12-16 17:50:42 +00:00
parent cf6f9fb01a
commit de27156be0

View file

@ -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";
};