From b0db3b7c11223ac087c5f7e13ea5f1f101f37167 Mon Sep 17 00:00:00 2001 From: Ilan Joselevich Date: Fri, 21 Jul 2023 19:57:57 +0300 Subject: [PATCH] nixos/twingate: fix cp (-n -> --update=none) --- nixos/modules/services/networking/twingate.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/twingate.nix b/nixos/modules/services/networking/twingate.nix index 1454a7431cd2..170d392bf213 100644 --- a/nixos/modules/services/networking/twingate.nix +++ b/nixos/modules/services/networking/twingate.nix @@ -12,7 +12,7 @@ in config = lib.mkIf cfg.enable { systemd.packages = [ cfg.package ]; systemd.services.twingate = { - preStart = "cp -r -n ${cfg.package}/etc/twingate/. /etc/twingate/"; + preStart = "cp -r --update=none ${cfg.package}/etc/twingate/. /etc/twingate/"; wantedBy = [ "multi-user.target" ]; };