build: fix systemd dependency
All checks were successful
Build and push Docker image / build-and-publish (push) Successful in 6m29s

This commit is contained in:
Hamcha 2024-03-30 22:48:11 +01:00
parent de546a3e21
commit 2aa53823fa

View file

@ -34,6 +34,7 @@ in
systemd.services.staxman = { systemd.services.staxman = {
description = "Scatting system management"; description = "Scatting system management";
after = [ "network-online.target" ]; after = [ "network-online.target" ];
wants = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
environment.STAX_ARION_BIN = "${pkgs.arion}/bin/arion"; environment.STAX_ARION_BIN = "${pkgs.arion}/bin/arion";
environment.STAX_DIR = cfg.stackDir; environment.STAX_DIR = cfg.stackDir;