summary refs log tree commit diff
path: root/nixos/modules/services/wayland/cage.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-12-16 17:50:42 +0000
committerAlyssa Ross <hi@alyssa.is>2021-12-16 23:55:15 +0000
commitde27156be068d0f0b54c546e76f19ae714fa13f0 (patch)
tree9efe5cb71f316da4539f335014413aab5469ee23 /nixos/modules/services/wayland/cage.nix
parentcf6f9fb01a469cebaeb2f33cec1d67bf8eb4915e (diff)
downloadnixpkgs-de27156be068d0f0b54c546e76f19ae714fa13f0.tar
nixpkgs-de27156be068d0f0b54c546e76f19ae714fa13f0.tar.gz
nixpkgs-de27156be068d0f0b54c546e76f19ae714fa13f0.tar.bz2
nixpkgs-de27156be068d0f0b54c546e76f19ae714fa13f0.tar.lz
nixpkgs-de27156be068d0f0b54c546e76f19ae714fa13f0.tar.xz
nixpkgs-de27156be068d0f0b54c546e76f19ae714fa13f0.tar.zst
nixpkgs-de27156be068d0f0b54c546e76f19ae714fa13f0.zip
nixos/cage: log to journal
Previously, cage would log to the TTY it was running on top of, so log
messages were basically lost.
Diffstat (limited to 'nixos/modules/services/wayland/cage.nix')
-rw-r--r--nixos/modules/services/wayland/cage.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/wayland/cage.nix b/nixos/modules/services/wayland/cage.nix
index 273693a3b2f..d2bbc4fc057 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";
       };