From 00af6f8e749d720a0423834024adafef4f9ebf03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 16 Feb 2024 12:22:06 +0100 Subject: [PATCH] support new tinc user --- modules/retiolum/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/retiolum/default.nix b/modules/retiolum/default.nix index 7156c82..3fcff6a 100644 --- a/modules/retiolum/default.nix +++ b/modules/retiolum/default.nix @@ -71,7 +71,9 @@ in { install-keys = pkgs.writeShellScript "install-keys" '' rm -rf /etc/tinc/${netname}/hosts cp -R ${hosts} /etc/tinc/${netname}/hosts - chown -R tinc.${netname} /etc/tinc/${netname}/hosts + # FIXME: drop this once everyone has the new tinc user + chown -R tinc-${netname} /etc/tinc/${netname}/hosts || + chown -R tinc.${netname} /etc/tinc/${netname}/hosts chmod -R u+w /etc/tinc/${netname}/hosts ''; in {