diff --git a/config/profiles/gui/nfs.nix b/config/profiles/gui/nfs.nix index 9f897cf6..be5a559b 100644 --- a/config/profiles/gui/nfs.nix +++ b/config/profiles/gui/nfs.nix @@ -20,4 +20,8 @@ fsType = "nfs"; options = [ "x-systemd.automount" "noauto" ]; }; + + systemd.services.nfs-mountd = { + wants = [ "network-online.target" "yggdrassil.service" ]; + }; } diff --git a/config/services/promtail.nix b/config/services/promtail.nix index 7fbd5cc0..c004b056 100644 --- a/config/services/promtail.nix +++ b/config/services/promtail.nix @@ -31,6 +31,7 @@ in systemd.services.promtail = { description = "Promtail service for Loki"; wantedBy = [ "multi-user.target" ]; + wants = [ "yggdrassil.service" ]; serviceConfig = { ExecStart = ''