nixos/twingate: fix cp (-n -> --update=none)

This commit is contained in:
Ilan Joselevich 2023-07-21 19:57:57 +03:00
parent b6e5966ebd
commit b0db3b7c11
No known key found for this signature in database

View file

@ -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" ];
};