Merge pull request #244689 from Kranzes/twingate-cp

nixos/twingate: fix cp (-n -> --update=none)
This commit is contained in:
Ilan Joselevich 2023-07-21 23:21:53 +03:00 committed by GitHub
commit 75a51855e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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