Enable openclaw user unit on login

This commit is contained in:
ltadeu6 2026-04-06 12:01:31 -03:00
parent 2cb6aa0c7d
commit f71521e2fc
2 changed files with 6 additions and 2 deletions

View file

@ -371,8 +371,11 @@
fi
'';
systemd.user.services.openclaw-gateway.Service.EnvironmentFile =
"${config.home.homeDirectory}/.config/openclaw/gateway.env";
systemd.user.services.openclaw-gateway = {
Service.EnvironmentFile =
"${config.home.homeDirectory}/.config/openclaw/gateway.env";
Install.WantedBy = [ "default.target" ];
};
home.file.".openclaw/openclaw.json".force = true;