From 242973ca291070c2b13fd325cbba4546999a1f30 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Mon, 8 May 2023 23:07:46 -0600 Subject: [PATCH] systemd fix to autostart user.services --- configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 2860b92..4b69542 100644 --- a/configuration.nix +++ b/configuration.nix @@ -556,7 +556,7 @@ systemd.services = { description = "Start docker-compose servers"; after = [ "docker.service" "docker.socket" ]; requires = [ "docker.service" "docker.socket" ]; - wantedBy = [ "multi-user.target" ]; + wantedBy = [ "default.target" ]; environment = { FILE = "/home/jawz/Development/Docker/docker-compose.yml"; }; @@ -577,7 +577,7 @@ systemd.user.services = { enable = true; restartIfChanged = true; description = "Run hentai@home server"; - wantedBy = [ "multi-user.target" ]; + wantedBy = [ "default.target" ]; path = [ pkgs.HentaiAtHome ];