From 78403f4deccd9824cb0a329d2a8146b6090daa15 Mon Sep 17 00:00:00 2001 From: Myned Date: Wed, 22 Jan 2025 11:52:16 -0600 Subject: [PATCH] nautilus: workaround for processes killed on close Signed-off-by: Myned --- options/custom/programs/nautilus.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/options/custom/programs/nautilus.nix b/options/custom/programs/nautilus.nix index c95932c..71309fe 100644 --- a/options/custom/programs/nautilus.nix +++ b/options/custom/programs/nautilus.nix @@ -58,6 +58,10 @@ in { ExecStop = "${nautilus} --quit"; Restart = "always"; #!! Benign exceptions cause nautilus to exit Type = "dbus"; + + # HACK: Allow child processes to live, otherwise applications launched through service are killed on stop + # https://www.freedesktop.org/software/systemd/man/latest/systemd.kill.html#KillMode= + KillMode = "process"; }; };