fix: openclaw-gateway service config (PATH, network-online.target, RestartSec)
This commit is contained in:
parent
2e840f3689
commit
9ff43bc836
1 changed files with 10 additions and 3 deletions
|
|
@ -20,6 +20,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
google-chrome
|
||||||
whisper-cpp
|
whisper-cpp
|
||||||
libqalculate
|
libqalculate
|
||||||
yt-dlp
|
yt-dlp
|
||||||
|
|
@ -54,9 +55,15 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.openclaw-gateway = {
|
systemd.user.services.openclaw-gateway = {
|
||||||
Service.Environment = [
|
Unit = {
|
||||||
''PATH="$PATH:/run/current-system/sw/bin/"''
|
After = ["network-online.target"];
|
||||||
];
|
Wants = ["network-online.target"];
|
||||||
|
};
|
||||||
|
Service = {
|
||||||
|
Environment = [
|
||||||
|
"PATH=/run/wrappers/bin:/home/teesh/.nix-profile/bin:/nix/profile/bin:/home/teesh/.local/state/nix/profile/bin:/etc/profiles/per-user/teesh/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/home/teesh/.local/bin:/home/teesh/bin:/usr/local/bin:/usr/bin:/bin"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue