mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 18:19:11 +00:00
services: change dependency requirement
I didn't realize `network.target` is very ambiguous. The next best thing for booting up the service after the system is up is `default.target` but we're being explicit here for NixOS services just to make sure.
This commit is contained in:
parent
ddba7b0bea
commit
906ea48993
@ -165,7 +165,7 @@ in {
|
||||
lib.nameValuePair "gallery-dl-archive-service-${name}" {
|
||||
Unit = {
|
||||
Description = "gallery-dl archive job for group '${name}'";
|
||||
After = "network.target";
|
||||
After = "default.target";
|
||||
Documentation = "man:gallery-dl(1)";
|
||||
};
|
||||
|
||||
|
@ -135,7 +135,7 @@ in {
|
||||
lib.nameValuePair "yt-dlp-archive-service-${name}" {
|
||||
Unit = {
|
||||
Description = "yt-dlp archive job for group '${name}'";
|
||||
After = "network.target";
|
||||
After = "default.target";
|
||||
Documentation = "man:yt-dlp(1)";
|
||||
};
|
||||
|
||||
|
@ -157,7 +157,7 @@ in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.services = lib.mapAttrs' (name: value:
|
||||
lib.nameValuePair "gallery-dl-archive-service-${name}" {
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
description = "gallery-dl archive job for group '${name}'";
|
||||
documentation = [ "man:gallery-dl(1)" ];
|
||||
enable = true;
|
||||
|
@ -128,7 +128,7 @@ in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.services = lib.mapAttrs' (name: value:
|
||||
lib.nameValuePair "yt-dlp-archive-service-${name}" {
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
description = "yt-dlp archive job for group '${name}'";
|
||||
documentation = [ "man:yt-dlp(1)" ];
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user