From 51ed142c5f851a718ec814a8badc0ca670f22d7b Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 25 Dec 2019 17:15:42 +0100 Subject: [PATCH] Use mkforce for 'partOf' option --- modules/devops.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/devops.nix b/modules/devops.nix index 3165b06..298bf23 100644 --- a/modules/devops.nix +++ b/modules/devops.nix @@ -22,6 +22,6 @@ }; # Restart nginx after startup - systemd.services.nginx.partOf = [ "gitea.service" ]; + systemd.services.nginx.unitConfig.partOf = lib.mkForce [ "gitea.service" ]; }