System: Run nps cache refresh service after network.target
This commit is contained in:
@ -463,6 +463,7 @@ with mylib.networking; {
|
|||||||
services."refresh-nps-cache" = {
|
services."refresh-nps-cache" = {
|
||||||
# Make sure `nix` and `nix-env` are findable by systemd.services.
|
# Make sure `nix` and `nix-env` are findable by systemd.services.
|
||||||
path = ["/run/current-system/sw/"];
|
path = ["/run/current-system/sw/"];
|
||||||
|
after = ["network.target"];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
User = "${username}";
|
User = "${username}";
|
||||||
|
|||||||
Reference in New Issue
Block a user