From ae318bf4993dd806233969ae33350275db7d4ef8 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 28 Aug 2023 13:19:27 -0700 Subject: [PATCH] DON'T start wallfly if you're not logged in... --- module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module.nix b/module.nix index 430a582..7a21213 100644 --- a/module.nix +++ b/module.nix @@ -54,9 +54,9 @@ in { nixpkgs.overlays = [ wallfly-overlay ]; systemd.user.services.wallfly = { - enable = true; wantedBy = [ "graphical-session.target" ]; after = [ "graphical-session.target" ]; + requires = [ "graphical-session.target" ]; path = with pkgs; [ nettools xprintidle ]; restartIfChanged = true; serviceConfig = {