From 2d24d34cf33de01aec95f31eda4b79631344fc83 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Mon, 13 Feb 2023 10:38:00 -0700 Subject: [PATCH] gui: try harder to start promnesia's service --- gui/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/default.nix b/gui/default.nix index fd4ea97..9e74602 100644 --- a/gui/default.nix +++ b/gui/default.nix @@ -12,6 +12,9 @@ let promnesiaService = { promnesia = { description = "Service for promnesia.server"; + wantedBy = [ "graphical-session.target" ]; + partOf = [ "graphical-session.target" ]; + after = [ "graphical-session.target" ]; script = '' ${promnesia}/bin/promnesia serve '';