From 1947179036c7473b735f378ea91916a67e73753d Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Wed, 17 Jun 2015 16:39:12 +0300 Subject: [PATCH] nixos/rogue: Set WorkingDirectory to /tmp Otherwise we can get an ugly /rogue.scr in the root of the filesystem hierarchy. --- nixos/modules/services/misc/rogue.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/rogue.nix b/nixos/modules/services/misc/rogue.nix index ed8da8a518f..aae02e384c9 100644 --- a/nixos/modules/services/misc/rogue.nix +++ b/nixos/modules/services/misc/rogue.nix @@ -52,6 +52,7 @@ in TTYPath = "/dev/${cfg.tty}"; TTYReset = true; TTYVTDisallocate = true; + WorkingDirectory = "/tmp"; Restart = "always"; }; };