nixos/k3s: start after network-online
This commit is contained in:
parent
1807479e88
commit
a180470959
1 changed files with 2 additions and 2 deletions
|
@ -147,8 +147,8 @@ in
|
|||
|
||||
systemd.services.k3s = {
|
||||
description = "k3s service";
|
||||
after = [ "network.service" "firewall.service" ];
|
||||
wants = [ "network.service" "firewall.service" ];
|
||||
after = [ "firewall.service" "network-online.target" ];
|
||||
wants = [ "firewall.service" "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = optional config.boot.zfs.enabled config.boot.zfs.package;
|
||||
serviceConfig = {
|
||||
|
|
Loading…
Reference in a new issue